Documentation ¶
Index ¶
- type Plan
- func (p Plan) Create(plan *plan.Plan, options common.DBOptions) error
- func (p Plan) Delete(id int, options common.DBOptions) error
- func (p Plan) Get(id int, options common.DBOptions) (*plan.Plan, error)
- func (p Plan) List(status int, options common.DBOptions) ([]plan.Plan, error)
- func (p Plan) Search(num, size, status, RepositoryId int, path, name string, ...) (count int, res []plan.Plan, err error)
- func (p Plan) Update(plan *plan.Plan, options common.DBOptions) error
- func (p Plan) UpdateField(id int, fieldName string, value interface{}, options common.DBOptions) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { common.DBService Create(plan *plan.Plan, options common.DBOptions) error List(status int, options common.DBOptions) ([]plan.Plan, error) Search(num, size, status, RepositoryId int, path, name string, options common.DBOptions) (int, []plan.Plan, error) Get(id int, options common.DBOptions) (*plan.Plan, error) Delete(id int, options common.DBOptions) error Update(plan *plan.Plan, options common.DBOptions) error UpdateField(id int, fieldName string, value interface{}, options common.DBOptions) error }
func GetService ¶
func GetService() Service
Click to show internal directories.
Click to hide internal directories.