Documentation ¶
Index ¶
Constants ¶
View Source
const ( Local = "local" Dev = "dev" Test = "test" Prod = "prod" )
run env
View Source
const ( Yaml = "yaml" Json = "json" Xml = "xml" )
file type
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(c *Config)
func Environment ¶
if (isReadFromEnv==true) { config.{env}.yaml } else { config.env.yaml}
func WatchFileChange ¶
Click to show internal directories.
Click to hide internal directories.