Documentation
¶
Index ¶
Constants ¶
View Source
const ( DriverMySQL = Driver("mysql") DriverPostgresQL = Driver("postgres") DriverSQLite = Driver("sqlite3") )
Driver is type of database driver. Current supported driver are:
- `DriverMySQL`
- `DriverPostgresQL`
- `DriverSQLite`
This type is string, so you can use string literal to represent driver name. For example: `db.Driver("mysql")` is equal with `db.DriverMySQL`.
This type is useful for `db.Config` struct.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.