mirror of
https://github.com/lukaszraczylo/graphql-monitoring-proxy.git
synced 2026-10-21 06:37:21 +00:00
Release 0.19.x
This commit is contained in:
@@ -14,8 +14,10 @@ import (
|
|||||||
libpack_logging "github.com/lukaszraczylo/graphql-monitoring-proxy/logging"
|
libpack_logging "github.com/lukaszraczylo/graphql-monitoring-proxy/logging"
|
||||||
)
|
)
|
||||||
|
|
||||||
var cfg *config
|
var (
|
||||||
var once sync.Once
|
cfg *config
|
||||||
|
once sync.Once
|
||||||
|
)
|
||||||
|
|
||||||
// function get value from the env where the value can be anything
|
// function get value from the env where the value can be anything
|
||||||
func getDetailsFromEnv[T any](key string, defaultValue T) T {
|
func getDetailsFromEnv[T any](key string, defaultValue T) T {
|
||||||
|
|||||||
Reference in New Issue
Block a user