Documentation ¶
Index ¶
- Variables
- func NewAuthRepo(data *Data, logger log.Logger) biz.AuthRepo
- func NewCache(c *conf.Data) (cache *redis.Client, err error)
- func NewCalendarRepo(data *Data, logger log.Logger) biz.CalendarRepo
- func NewDB(c *conf.Data) (db *gorm.DB, err error)
- func NewEventHistoryRepo(data *Data, logger log.Logger) biz.EventHistoryRepo
- func NewEventRepo(data *Data, logger log.Logger) biz.EventRepo
- func NewGoogleRepo(c *conf.Google, logger log.Logger) (biz.GoogleRepo, func(), error)
- func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo
- type Data
- type Event
- type User
- type UserRepo
- type Users
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewDB, NewCache, NewAuthRepo, NewUserRepo, NewCalendarRepo, NewEventRepo, NewEventHistoryRepo, NewGoogleRepo, )
ProviderSet is data providers.
Functions ¶
func NewCalendarRepo ¶
func NewCalendarRepo(data *Data, logger log.Logger) biz.CalendarRepo
func NewEventHistoryRepo ¶
func NewEventHistoryRepo(data *Data, logger log.Logger) biz.EventHistoryRepo
func NewGoogleRepo ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.