Documentation ¶
Index ¶
- func LoadSQL(tag string, lo logger.Logger, config database.SQLConfig) database.SQL
- type SQL
- func (c *SQL) Close() error
- func (c *SQL) Config() database.SQLConfig
- func (c *SQL) Id() string
- func (c *SQL) MySQL() (err error)
- func (c *SQL) OnError(e error) (err error)
- func (c *SQL) Orm() *gorm.DB
- func (c *SQL) PostgresSQL() (err error)
- func (c *SQL) SQLite() (err error)
- func (c *SQL) Start() error
- type Stores
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SQL ¶
type SQL struct {
// contains filtered or unexported fields
}
func (*SQL) PostgresSQL ¶ added in v0.0.8
type Stores ¶
func (*Stores) StoreClient ¶
Click to show internal directories.
Click to hide internal directories.