app

package
v0.0.0-...-2c32341 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2019 License: MIT Imports: 4 Imported by: 18

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

func LoadConfig(configPath string, env string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL