Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB is main class for MySQL API
func New ¶
New is function for construct a new DB connection arg[0] - DB_USER arg[1] - DB_PASS arg[2] - DB_HOST arg[3] - DB_PORT arg[4] - DB_NAME
func (*DB) MigrateDown ¶
MigrateDown is function that receives path to migration dir and runs down ones
Click to show internal directories.
Click to hide internal directories.