project

package
v0.0.0-...-a70d403 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(db *sql.DB)

func Delete

func Delete(db *sql.DB, Url string) (bool, error)

func Insert

func Insert(db *sql.DB, t Project) error

func Update

func Update(db *sql.DB, A Project, url string) error

Types

type Project

type Project struct {
	Id          int
	Name        string
	Url         string
	Frame       string
	Is_public   bool
	Logo_url    string
	Description string
	Create_time time.Time
	Modify_time time.Time
}

func Select

func Select(db *sql.DB, Url string, IsPublic bool) (Project, error)

func Selects

func Selects(db *sql.DB, IsPublic bool) ([]Project, error)

func (Project) String

func (p Project) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL