Documentation ¶ Index ¶ type Project func (a *Project) Add() error func (a *Project) Delete() error func (a *Project) Edit() error func (a *Project) ExistByID() (bool, error) func (a *Project) Get() (*models.Project, error) func (a *Project) GetAll() ([]*models.Project, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Project ¶ type Project struct { ID uint Title string Desc string Content string CreatedBy string ModifiedBy string PageNum int PageSize int } func (*Project) Add ¶ func (a *Project) Add() error func (*Project) Delete ¶ func (a *Project) Delete() error func (*Project) Edit ¶ func (a *Project) Edit() error func (*Project) ExistByID ¶ func (a *Project) ExistByID() (bool, error) func (*Project) Get ¶ func (a *Project) Get() (*models.Project, error) func (*Project) GetAll ¶ func (a *Project) GetAll() ([]*models.Project, error) Source Files ¶ View all Source files project.go Click to show internal directories. Click to hide internal directories.