Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config appConfig
Config stores the application-wide configurations
View Source
var Version = "1.0"
Version specifies the current version of the application. The value of this variable is replaced with the latest git tag by "make" while building or running the application.
Functions ¶
func LoadConfig ¶
LoadConfig loads configuration from the given list of paths and populates it into the Config variable. The configuration file(s) should be named as app.yaml. Environment variables with the prefix "RESTFUL_" in their names are also read automatically.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.