userdao

package
v0.0.0-...-139547c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User user.User

func GetUserById

func GetUserById(id uint) (User, error)

func GetUserByPhone

func GetUserByPhone(phone string) (User, error)

func (*User) AfterFind

func (u *User) AfterFind()

func (*User) Create

func (u *User) Create() error

func (*User) TableName

func (u *User) TableName() string

func (*User) UpdateUserAvatar

func (u *User) UpdateUserAvatar() error

func (*User) UpdateUserInfo

func (u *User) UpdateUserInfo() error

func (*User) Validate

func (u *User) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL