53 это Санкт Петербург
All checks were successful
Deploy Production / Deploy to Staging (push) Has been skipped

This commit is contained in:
Alex Shevchuk
2025-08-19 20:32:48 +03:00
parent 4114807e1c
commit d79ff7ea73
3 changed files with 21 additions and 1 deletions

View File

@@ -25,6 +25,20 @@ var (
date string
)
func init() {
if version = os.Getenv("APP_VERSION"); version == "" {
version = "undefined"
}
if commit = os.Getenv("APP_COMMIT"); commit == "" {
commit = "undefined"
}
if date = os.Getenv("APP_BUILD_DATE"); date == "" {
date = "undefined"
}
}
func main() {
cfg := config.MustLoad(version, commit, date)