Documentation
¶
Index ¶
- type AdminClubRepo
- type AdminRepository
- func (r *AdminRepository) GetAllUser() ([]models.UserInfo, error)
- func (r *AdminRepository) GetSpecifiedUser(userUUID string) (models.UserInfo, error)
- func (r *AdminRepository) UpdatePageByClubUUIDWithAdmin(uuid string, args ClubPageUpdateArgsWithAdmin) error
- func (r *AdminRepository) UpdateSpecifiedDomainUser(userUUID string, name string) error
- func (r *AdminRepository) UpdateSpecifiedGeneralUser(userUUID string, args UserArgs) error
- type AdminUserRepo
- type ClubPageUpdateArgsWithAdmin
- type IAdminRepository
- type UserArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminClubRepo ¶
type AdminClubRepo interface {
UpdatePageByClubUUIDWithAdmin(uuid string, args ClubPageUpdateArgsWithAdmin) error
}
type AdminRepository ¶
type AdminRepository struct { clubs.IClubRepository // contains filtered or unexported fields }
func NewAdminRepository ¶
func NewAdminRepository(logger *zap.Logger, db *gorm.DB, clubRepo clubs.IClubRepository) *AdminRepository
func (*AdminRepository) GetAllUser ¶ added in v0.1.3
func (r *AdminRepository) GetAllUser() ([]models.UserInfo, error)
func (*AdminRepository) GetSpecifiedUser ¶
func (r *AdminRepository) GetSpecifiedUser(userUUID string) (models.UserInfo, error)
func (*AdminRepository) UpdatePageByClubUUIDWithAdmin ¶ added in v0.1.3
func (r *AdminRepository) UpdatePageByClubUUIDWithAdmin(uuid string, args ClubPageUpdateArgsWithAdmin) error
func (*AdminRepository) UpdateSpecifiedDomainUser ¶
func (r *AdminRepository) UpdateSpecifiedDomainUser(userUUID string, name string) error
func (*AdminRepository) UpdateSpecifiedGeneralUser ¶ added in v0.1.3
func (r *AdminRepository) UpdateSpecifiedGeneralUser(userUUID string, args UserArgs) error
type AdminUserRepo ¶
type ClubPageUpdateArgsWithAdmin ¶ added in v0.1.3
type ClubPageUpdateArgsWithAdmin struct { *repos.ClubPageUpdateArgs Visible bool }
type IAdminRepository ¶
type IAdminRepository interface { AdminUserRepo AdminClubRepo }
Click to show internal directories.
Click to hide internal directories.