Documentation
¶
Overview ¶
Package storage loads the configuration file with only storage information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { MySQL mysql.Info `json:"MySQL"` PostgreSQL postgresql.Info `json:"PostgreSQL"` }
Info contains the database connection information for the different storage.
func LoadConfig ¶
LoadConfig reads the configuration file.
Directories
¶
Path | Synopsis |
---|---|
driver
|
|
mysql
Package mysql provides a wrapper around the sqlx package.
|
Package mysql provides a wrapper around the sqlx package. |
postgresql
Package postgresql provides a wrapper around the pq package.
|
Package postgresql provides a wrapper around the pq package. |
Package migration provides an interface for migrating a database backwards and forwards.
|
Package migration provides an interface for migrating a database backwards and forwards. |
mysql
Package mysql implements MySQL migrations.
|
Package mysql implements MySQL migrations. |
Click to show internal directories.
Click to hide internal directories.