user

package
v0.0.0-...-0864a4c Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterCreate

func AfterCreate(user *entity.User) error

func Create

func Create(user *entity.User) error

func Get

func Get(uid uint64) (*entity.User, error)

func GetByName

func GetByName(username string) (*entity.User, error)

func GetMap

func GetMap(uids []uint64) (map[uint64]*entity.User, error)

func MultiGet

func MultiGet(uids []uint64) ([]*entity.User, error)

*

return slice may contains nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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