This repository has been archived on 2023-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
|
package ent
|
|
|
|
import "os"
|
|
|
|
func getenv(key, defaultVal string) string {
|
|
if val := os.Getenv(key); val != "" {
|
|
return val
|
|
}
|
|
return defaultVal
|
|
}
|