Use spf13/viper to load the configuration.
Showing
+472 -113
cmd/coord/model.go
0 → 100644
... | @@ -3,19 +3,17 @@ module gitlab.irstea.fr/guillaume.perreal/coord | ... | @@ -3,19 +3,17 @@ module gitlab.irstea.fr/guillaume.perreal/coord |
go 1.12 | go 1.12 | ||
require ( | require ( | ||
github.com/Bowery/prompt v0.0.0-20190419144237-972d0ceb96f5 // indirect | |||
github.com/hashicorp/go-hclog v0.9.2 // indirect | github.com/hashicorp/go-hclog v0.9.2 // indirect | ||
github.com/hashicorp/go-immutable-radix v1.1.0 // indirect | github.com/hashicorp/go-immutable-radix v1.1.0 // indirect | ||
github.com/hashicorp/go-uuid v1.0.1 // indirect | github.com/hashicorp/go-uuid v1.0.1 // indirect | ||
github.com/hashicorp/golang-lru v0.5.1 // indirect | github.com/hashicorp/golang-lru v0.5.1 // indirect | ||
github.com/labstack/gommon v0.2.9 // indirect | |||
github.com/mkideal/cli v0.0.3 | |||
github.com/mkideal/pkg v0.0.0-20170503154153-3e188c9e7ecc // indirect | |||
github.com/nats-io/jwt v0.2.8 // indirect | github.com/nats-io/jwt v0.2.8 // indirect | ||
github.com/nats-io/nats-streaming-server v0.15.1 // indirect | github.com/nats-io/nats-streaming-server v0.15.1 // indirect | ||
github.com/nats-io/nats.go v1.8.1 | github.com/nats-io/nats.go v1.8.1 | ||
github.com/nats-io/stan.go v0.5.0 | github.com/nats-io/stan.go v0.5.0 | ||
github.com/prometheus/procfs v0.0.3 // indirect | github.com/prometheus/procfs v0.0.3 // indirect | ||
github.com/spf13/pflag v1.0.3 | |||
github.com/spf13/viper v1.4.0 | |||
go.etcd.io/bbolt v1.3.3 // indirect | go.etcd.io/bbolt v1.3.3 // indirect | ||
golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4 // indirect | golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4 // indirect | ||
golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0 // indirect | golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0 // indirect | ||
... | ... |
Please register or sign in to comment