1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-26 23:10:42 +02:00

сделал Getenv()

This commit is contained in:
Nikitin Aleksandr
2024-12-06 14:31:34 +03:00
parent db9ef4fcb9
commit 402f39c2ff

View File

@@ -23,7 +23,7 @@ func Getenv(Name string, IsRequired bool) string {
if IsRequired == true {
log.Panic(TextError + Name)
} else {
log.Error(TextError + Name)
log.Warn(TextError + Name)
}
return Otvet