From dfd3b02014443a1aae9af7d42c2544567eb6e8ec Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sat, 29 Jun 2024 09:57:52 +0100 Subject: [PATCH] Release 0.19.x --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 66bf629..41455a6 100644 --- a/main.go +++ b/main.go @@ -14,8 +14,10 @@ import ( libpack_logging "github.com/lukaszraczylo/graphql-monitoring-proxy/logging" ) -var cfg *config -var once sync.Once +var ( + cfg *config + once sync.Once +) // function get value from the env where the value can be anything func getDetailsFromEnv[T any](key string, defaultValue T) T {