mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-26 23:10:42 +02:00
сделал Getenv()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user