Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseService ¶
type BaseService struct { }
type EntityService ¶
type EntityService[T any] interface { GetById(id string) (*T, error) GetAll(entity *T, pageable query.Pageable) (int64, []T) Create(entity *T) (*T, error) Update(entity *T) (*T, error) Patch(id string, column string, value interface{}) (*T, error) PatchAll(id string, kv map[string]interface{}) (*T, error) Delete(entity *T) error DeleteById(id string) error }
type InviteCodeService ¶
type InviteCodeService interface {
FindByInviteCode(code string) (*dto.InviteCode, error)
}
func GetInviteCodeService ¶
func GetInviteCodeService() InviteCodeService
type RoleService ¶
func GetRoleService ¶
func GetRoleService() RoleService
type SocialUserService ¶
type SocialUserService interface {
GetById(id string) (*dto.SocialUser, error)
}
func GetSocialUserService ¶
func GetSocialUserService() SocialUserService
Source Files ¶
Click to show internal directories.
Click to hide internal directories.