ovpn-certman/settings/settings.go

11 lines
149 B
Go
Raw Normal View History

2018-01-26 14:49:03 +01:00
package settings
import "os"
func Get(key, defaultVal string) string {
if val := os.Getenv(key); val != "" {
return val
}
return defaultVal
}