Documentation ¶
Index ¶
- type Operation
- func (o Operation) Create(operation *operation.Operation, options common.DBOptions) error
- func (o Operation) List(repoid, optype int, options common.DBOptions) (operations []operation.Operation, err error)
- func (o Operation) ListLast(repoid, optype int, options common.DBOptions) (operations operation.Operation, err error)
- func (o Operation) Update(operation *operation.Operation, options common.DBOptions) error
- func (o Operation) 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 Operation ¶
type Operation struct {
common.DefaultDBService
}
type Service ¶
type Service interface { common.DBService Create(operation *operation.Operation, options common.DBOptions) error List(repoid, optype int, options common.DBOptions) ([]operation.Operation, error) ListLast(repoid, optype int, options common.DBOptions) (operation.Operation, error) Update(operation *operation.Operation, 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.