Documentation ¶
Index ¶
Constants ¶
View Source
const Mysql = "mysql"
View Source
const Postgres = "postgres"
View Source
const Sqlite = "sqlite"
View Source
const UnknownDatabase = "unknown database"
Variables ¶
View Source
var ( DB *gorm.DB Driver DriverType Locker sync.Mutex )
Functions ¶
Types ¶
type DriverType ¶ added in v0.2.1
type DriverType = string
Click to show internal directories.
Click to hide internal directories.