eae3219e4d
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
11 lines
147 B
Go
11 lines
147 B
Go
package ent
|
|
|
|
import "os"
|
|
|
|
func getenv(key, defaultVal string) string {
|
|
if val := os.Getenv(key); val != "" {
|
|
return val
|
|
}
|
|
return defaultVal
|
|
}
|