Versions in this module Expand all Collapse all v0 v0.1.0 Oct 3, 2022 Changes in this version + var InjectorSet = wire.NewSet(wire.Struct(new(Injector), "*")) + func Init(ctx context.Context, opts ...Option) (func(), error) + func InitGinEngine(r router.IRouter) *gin.Engine + func InitGormDB() (*gorm.DB, func(), error) + func InitHTTPServer(ctx context.Context, handler http.Handler) func() + func InitStore() (*redis.Store, func(), error) + func NewGormDB() (*gorm.DB, error) + func Run(ctx context.Context, opts ...Option) error + type Injector struct + Engine *gin.Engine + type Option func(*options) + func SetConfigFile(s string) Option + func SetVersion(s string) Option