Documentation ¶
Index ¶
- type User
- func (u *User) Add(data *UserAddData) error
- func (u *User) CountList(params *UserQuery) (int64, error)
- func (u *User) DeleteByID(id int64) error
- func (u *User) FindByID(id int64) (*models.User, error)
- func (u *User) FindByName(username string) (*models.User, error)
- func (u *User) FindForUniqueCheck(name string, id ...int64) (*models.User, error)
- func (u *User) FindList(params *UserQuery) ([]*models.User, error)
- func (u *User) UpdateByID(id int64, data yiigo.X) error
- type UserAddData
- type UserQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) Add ¶
func (u *User) Add(data *UserAddData) error
func (*User) DeleteByID ¶
func (*User) FindForUniqueCheck ¶
func (*User) UpdateByID ¶
type UserAddData ¶
Click to show internal directories.
Click to hide internal directories.