Documentation ¶
Index ¶
- Variables
- func NewCarStorage(entCli *ent.Client) biz.CarStorage
- func NewDeptStorage(entCli *ent.Client) biz.DeptStorage
- func NewGreeterRepo(data *Data, logger log.Logger) biz.GreeterRepo
- func NewUserStorage(entCli *ent.Client) biz.UserStorage
- type CarStorage
- type Data
- type DeptStorage
- type UserStorage
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewData, NewUserStorage, NewCarStorage, NewDeptStorage)
ProviderSet is data providers.
Functions ¶
func NewCarStorage ¶
func NewCarStorage(entCli *ent.Client) biz.CarStorage
func NewDeptStorage ¶
func NewDeptStorage(entCli *ent.Client) biz.DeptStorage
func NewGreeterRepo ¶
func NewGreeterRepo(data *Data, logger log.Logger) biz.GreeterRepo
NewGreeterRepo .
func NewUserStorage ¶
func NewUserStorage(entCli *ent.Client) biz.UserStorage
Types ¶
type CarStorage ¶
type CarStorage struct {
// contains filtered or unexported fields
}
type DeptStorage ¶
type DeptStorage struct {
// contains filtered or unexported fields
}
type UserStorage ¶
type UserStorage struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.