feat: Add MySQL ent-based storage driver
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
10
storage/ent/utils.go
Normal file
10
storage/ent/utils.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package ent
|
||||
|
||||
import "os"
|
||||
|
||||
func getenv(key, defaultVal string) string {
|
||||
if val := os.Getenv(key); val != "" {
|
||||
return val
|
||||
}
|
||||
return defaultVal
|
||||
}
|
Reference in New Issue
Block a user