Versions in this module Expand all Collapse all v1 v1.5.0 Jul 25, 2019 Changes in this version + const EnvVarKey + var BUILDENV = "" + var Development = &Environment + var Local = &Environment + var Production = &Environment + var Staging = &Environment + var Testing = &Environment + var VCS = NewRepository("./") + func CompiledPath(path string) string + func EnvSubDir(path string) string + func GetInfo(w http.ResponseWriter, r *http.Request) + func LoadConfig(config interface{}, files ...string) (err error) + func LoadToolBox(toolBox interface{}, configPath string) (err error) + func PrintInfo() + func SetColoredLogs(colored bool) + func SetDebug(enabled bool) + func SetFileSearchCaseSensitive(caseSensitive bool) + func Unmarshal(data []byte, config interface{}) (err error) + type Environment struct + RunCompiled bool + func Env() *Environment + func (e *Environment) AppendExp(exp string) + func (e *Environment) ID() string + func (e *Environment) Info() string + func (e *Environment) MatchTag(tag string) bool + func (e *Environment) PrintInfo() + func (e *Environment) SetExps(exps []string) + type Repository struct + BranchName string + Build string + Commit string + Error error + Path string + Tag string + func NewRepository(path string) *Repository + func (r *Repository) Info() string + func (r *Repository) PrintInfo() + func (r *Repository) UpdateInfo()