Skip to content

gol-gol/golenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golenv

facade for regular used Go Environment Variable calls

extracted from an older pandora box of such packages at abhishekkr/gol

Public Functions

  • OverrideIfEnv(envVar string, defaultValue string) string

  • OverrideIfEnvBool(envVar string, defaultValue bool) bool

  • OverrideIfEnvInt(envVar string, defaultValue int) int

  • OverrideIfEnvUint64(envVar string, defaultValue uint64) uint64

  • HasEnv(envVar string) bool

  • EnvMap() map[string]string


About

facade for using Env variables, in my style

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages