Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvDev = "dev" EnvTest = "test" EnvProd = "prod" )
View Source
const ConfigPath = "./config"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Env string Server serverConfig `toml:"server"` DB dbConfig `toml:"database"` }
func (Config) DBConnectionString ¶
func (Config) ServerConnectionString ¶
Click to show internal directories.
Click to hide internal directories.