Documentation ¶
Index ¶
- type DB
- type UserRepo
- func (u *UserRepo) InsertEmptyModelUser(ctx context.Context, user *model.User) error
- func (u *UserRepo) SearchByDiscordTag(ctx context.Context, searchTerm string) (*model.User, error)
- func (u *UserRepo) SearchUserByDiscordId(ctx context.Context, searchId string) (*model.User, error)
- func (u *UserRepo) SearchUserByUUID(ctx context.Context, uuid string) ([]*model.User, error)
- func (u *UserRepo) SetDiscordIdForUser(ctx context.Context, userId int, discordId []string) error
- func (u *UserRepo) UnsetDiscordTag(ctx context.Context, userId int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserRepo ¶
type UserRepo struct {
// contains filtered or unexported fields
}
func NewUserRepo ¶
func (*UserRepo) InsertEmptyModelUser ¶
func (*UserRepo) SearchByDiscordTag ¶
func (*UserRepo) SearchUserByDiscordId ¶
func (*UserRepo) SearchUserByUUID ¶
func (*UserRepo) SetDiscordIdForUser ¶
Click to show internal directories.
Click to hide internal directories.