switch accounts to struct tag based env config

This commit is contained in:
Willy Kloucek
2022-01-07 15:39:01 +00:00
committed by Jörn Friedrich Dreyer
parent ebfe8f069c
commit d2befd9257
9 changed files with 99 additions and 244 deletions
+2 -1
View File
@@ -36,6 +36,7 @@ require (
github.com/gorilla/mux v1.8.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.2
github.com/iancoleman/strcase v0.2.0
github.com/imdario/mergo v0.3.12
github.com/justinas/alice v1.2.0
github.com/libregraph/lico v0.53.1
github.com/mennanov/fieldmask-utils v0.5.0
@@ -56,6 +57,7 @@ require (
github.com/stretchr/testify v1.7.0
github.com/thejerf/suture/v4 v4.0.1
github.com/urfave/cli/v2 v2.3.0
github.com/wkloucek/envdecode v0.0.0-20211216135343-360f0d3c2679
go-micro.dev/v4 v4.5.0
go.opencensus.io v0.23.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0
@@ -150,7 +152,6 @@ require (
github.com/hashicorp/go-plugin v1.4.3 // indirect
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect