Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BootstrapDatabase ¶
func BootstrapDatabase(config Config) *mysql.ConnectionData
Types ¶
type Config ¶
type Environment ¶
type Environment string
const ( PROD Environment = "production" BETA Environment = "beta" LOCAL Environment = "local" TEST Environment = "test" )
func (Environment) IsBeta ¶
func (e Environment) IsBeta() bool
func (Environment) IsLocal ¶
func (e Environment) IsLocal() bool
func (Environment) IsProduction ¶
func (e Environment) IsProduction() bool
func (Environment) IsTest ¶
func (e Environment) IsTest() bool
Click to show internal directories.
Click to hide internal directories.