Versions in this module Expand all Collapse all v1 v1.0.0 May 6, 2022 Changes in this version + const ContainerConfigID + const ContainerDialectFactoryID + const ContainerDialectStrategyMySQLID + const ContainerDialectStrategySqliteID + const ContainerDialectStrategyTag + const ContainerID + const ContainerPrimaryID + var ErrConversion = gapp.ErrConversion + var ErrNilPointer = gapp.ErrNilPointer + var Primary = genv.String("GAPP_RDB_PRIMARY", "primary") + func GetConfig(c gapp.ServiceContainer) (*gorm.Config, error) + func GetConnectionFactory(c gapp.ServiceContainer) (*grdb.ConnectionFactory, error) + func GetDialectFactory(c gapp.ServiceContainer) (*grdb.DialectFactory, error) + func GetDialectStrategies(c gapp.ServiceContainer) ([]grdb.DialectStrategy, error) + func GetPrimaryConnection(c gapp.ServiceContainer) (*gorm.DB, error) + type Provider struct + func (p Provider) Boot(c gapp.ServiceContainer) error + func (p Provider) Register(c gapp.ServiceContainer) error