Documentation ¶
Index ¶
- Variables
- func NewDB(conf *config.Configuration, gLog *zap.Logger) *gorm.DB
- func NewJwtRepo(data *Data, log *zap.Logger) service.JwtRepo
- func NewMediaRepo(data *Data, log *zap.Logger, storage *compo.Storage) service.MediaRepo
- func NewRedis(c *config.Configuration, gLog *zap.Logger) *redis.Client
- func NewTransaction(d *Data) service.Transaction
- func NewUserRepo(data *Data, log *zap.Logger) service.UserRepo
- type Data
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewDB, NewRedis, NewTransaction, NewUserRepo, NewJwtRepo, NewMediaRepo, )
ProviderSet is data providers.
Functions ¶
func NewMediaRepo ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.