Rewritten in go and python

This commit is contained in:
2024-11-06 01:25:27 +04:00
parent 9f22d9678d
commit d8449237bb
50 changed files with 3824 additions and 879 deletions

11
server/pkg/utils/env.go Normal file
View File

@@ -0,0 +1,11 @@
package utils
import "os"
func GetEnv(key, default_ string) string {
value := os.Getenv(key)
if value == "" {
return default_
}
return value
}