Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { // CreateFn func(orm.DB, model.User) (*model.User, error) // ViewFn func(orm.DB, int64) (*model.User, error) // ListFn func(orm.DB, string, int, int) ([]model.User, error) // DeleteFn func(orm.DB, *model.User) error // UpdateFn func(orm.DB, *model.User) (*model.User, error) FindByAuthFn func(orm.DB, string) (*model.User, error) FindByTokenFn func(orm.DB, string) (*model.User, error) UpdateLastLoginFn func(orm.DB, *model.User) error }
User database mock
func (*User) FindByAuth ¶
FindByAuth mock
func (*User) FindByToken ¶
FindByToken mock
Click to show internal directories.
Click to hide internal directories.