Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ICart ¶
type IItem ¶
type ITransaction ¶
type ITransaction interface { Count(filters interface{}) (int64, error) FindAll(filters interface{}, skip, take int64) ([]model.Transaction, error) FindByID(id string) (model.Transaction, error) Save(data model.Transaction) (model.Transaction, error) }
func NewTransaction ¶
func NewTransaction() ITransaction
type IUser ¶
type IUser interface { //Count(filters ...*dbflex.Filter) (int64, error) //Delete(filters ...*dbflex.Filter) error //DeleteByID(id string) error //FindAll(param *BaseParam) ([]model.User, error) //FindAtasan(id string) ([]model.User, error) //FindByID(id string) (model.User, error) FindByUsername(username string) (model.User, error) Save(data model.User) (model.User, error) }
Click to show internal directories.
Click to hide internal directories.