Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectMySQLDB ¶
ConnectMySQLDB connects to MySQL database.
func ConnectPostgresDB ¶
ConnectPostgresDB connects to Postgres database.
Types ¶
type DB ¶
DB contains a db connection.
func (*DB) CreateEngine ¶
CreateEngine creates an engine.
func (*DB) GetTableName ¶
GetTableName gets a model's real table name.
Click to show internal directories.
Click to hide internal directories.