Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewShortening, memory.NewStorager, )
ProviderSet is used to provide biz set.
View Source
var ShortenRedis = wire.NewSet( NewShortening, redis.NewStorager, )
ShortenRedis is used to provide biz set with redis storager.
Functions ¶
func NewShortening ¶
func NewShortening(storage repo.Storager) biz.IShorteningBiz
NewShortening is used to create a new shortening biz instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.