This commit is contained in:
nquidox 2026-02-18 15:53:29 +03:00
commit 25439eab5b
10 changed files with 185 additions and 0 deletions

10
config/helper.go Normal file
View file

@ -0,0 +1,10 @@
package config
import "os"
func getEnv(key, fallback string) string {
if value, ok := os.LookupEnv(key); ok {
return value
}
return fallback
}