Documentation
¶
Index ¶
Constants ¶
View Source
const ( CgoSqliteSuffix = "with_CGO" DBTypeSqliteCgo = "SqliteWithCgo" )
View Source
const ( LocalSqliteEnv = "LOCAL_SQLITE" RunAllDBsEnv = "TESTDBS_ALL" )
View Source
const (
DBTypeMysql = "mysql"
)
View Source
const (
DBTypePostgres = "postgres"
)
View Source
const (
DBTypeSqliteNOCgo = "SqliteNoCgo"
)
Variables ¶
This section is empty.
Functions ¶
func InitCustomDbs ¶ added in v0.2.0
func InitCustomDbs(fastDbs, longDBs []TargetDb)
Types ¶
type SqliteCgo ¶ added in v0.2.0
type SqliteCgo struct {
// contains filtered or unexported fields
}
type SqliteNoCgo ¶ added in v0.2.0
type SqliteNoCgo struct {
// contains filtered or unexported fields
}
func (*SqliteNoCgo) Close ¶ added in v0.2.0
func (c *SqliteNoCgo) Close(name string) error
func (*SqliteNoCgo) CloseAll ¶ added in v0.2.0
func (c *SqliteNoCgo) CloseAll() error
func (*SqliteNoCgo) Conn ¶ added in v0.2.0
func (c *SqliteNoCgo) Conn() *gorm.DB
func (*SqliteNoCgo) ConnDbName ¶ added in v0.2.0
func (c *SqliteNoCgo) ConnDbName(name string) *gorm.DB
func (*SqliteNoCgo) DbType ¶ added in v0.2.0
func (c *SqliteNoCgo) DbType() string
func (*SqliteNoCgo) Init ¶ added in v0.2.0
func (c *SqliteNoCgo) Init(logger logger.Interface)
Click to show internal directories.
Click to hide internal directories.