Documentation
¶
Index ¶
- Variables
- func NewAuthRepo(data *Data, logger log.Logger) biz.AuthRepoI
- func NewUserDataRepo(data *Data, logger log.Logger) biz.UserDataRepoI
- type AuthRepo
- type Data
- type UserDataRepo
- func (repo *UserDataRepo) FindByDingTalkOpenId(id string) (*biz.UserData, error)
- func (repo *UserDataRepo) FindByEmail(id string) (*biz.UserData, error)
- func (repo *UserDataRepo) FindByID(id string) (*biz.UserData, error)
- func (repo *UserDataRepo) FindByMobile(id string) (*biz.UserData, error)
- func (repo *UserDataRepo) StorageByDingTalkOpenId(user *biz.UserData) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewData, NewAuthRepo, NewUserDataRepo)
ProviderSet is data providers.
Functions ¶
func NewUserDataRepo ¶
func NewUserDataRepo(data *Data, logger log.Logger) biz.UserDataRepoI
Types ¶
type UserDataRepo ¶
type UserDataRepo struct {
// contains filtered or unexported fields
}
func (*UserDataRepo) FindByDingTalkOpenId ¶
func (repo *UserDataRepo) FindByDingTalkOpenId(id string) (*biz.UserData, error)
func (*UserDataRepo) FindByEmail ¶
func (repo *UserDataRepo) FindByEmail(id string) (*biz.UserData, error)
func (*UserDataRepo) FindByID ¶
func (repo *UserDataRepo) FindByID(id string) (*biz.UserData, error)
func (*UserDataRepo) FindByMobile ¶
func (repo *UserDataRepo) FindByMobile(id string) (*biz.UserData, error)
func (*UserDataRepo) StorageByDingTalkOpenId ¶
func (repo *UserDataRepo) StorageByDingTalkOpenId(user *biz.UserData) error
Click to show internal directories.
Click to hide internal directories.