Versions in this module Expand all Collapse all v0 v0.1.0 Dec 3, 2019 Changes in this version + func AutoMigrate(db *gorm.DB) error + func BuildContainer() (*dig.Container, func()) + func Init(ctx context.Context, opts ...Option) func() + func InitHTTPServer(ctx context.Context, container *dig.Container) func() + func InitStore(container *dig.Container) (func(), error) + func InitWeb(container *dig.Container) *gin.Engine + func SetTablePrefix(prefix string) + type Config struct + DBType string + Debug bool + MaxIdleConns int + MaxLifetime int + MaxOpenConns int + type Option func(*options) + func SetConfigFile(s string) Option + func SetModelFile(s string) Option + func SetPermissionFile(s string) Option + func SetSwaggerDir(s string) Option + func SetVersion(s string) Option + func SetWWWDir(s string) Option