Documentation ¶
Index ¶
- Variables
- func CreateUser(ctx context.Context, user *model.User) error
- func Init()
- func IsFollower(ctx context.Context, toUserID int64, followerID int64) (bool, error)
- func QueryUser(ctx context.Context, userName string) ([]*model.User, error)
- func QueryUserByID(ctx context.Context, userID int64) (*model.User, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
func IsFollower ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.