project_service

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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