dao

package
v0.0.0-...-6daead3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

AddUser 添加用户

func GetUserById

func GetUserById(ctx context.Context, id any, userInfo *models.UserInfo) error

GetUserById 通过id获取用户信息

func GetUserByName

func GetUserByName(ctx context.Context, username string, userInfo *models.UserInfo) error

GetUserByName 通过用户名获取用户信息

func InitUserCollection

func InitUserCollection()

Types

This section is empty.

Jump to

Keyboard shortcuts

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