setup flags and envvar
This commit is contained in:
parent
cd148b9fa6
commit
46e9545dca
3 changed files with 18 additions and 12 deletions
2
go.mod
2
go.mod
|
|
@ -4,6 +4,7 @@ go 1.21.6
|
|||
|
||||
require (
|
||||
github.com/spf13/cobra v1.8.1
|
||||
github.com/spf13/pflag v1.0.5
|
||||
github.com/spf13/viper v1.19.0
|
||||
)
|
||||
|
||||
|
|
@ -19,7 +20,6 @@ require (
|
|||
github.com/sourcegraph/conc v0.3.0 // indirect
|
||||
github.com/spf13/afero v1.11.0 // indirect
|
||||
github.com/spf13/cast v1.6.0 // indirect
|
||||
github.com/spf13/pflag v1.0.5 // indirect
|
||||
github.com/subosito/gotenv v1.6.0 // indirect
|
||||
go.uber.org/atomic v1.9.0 // indirect
|
||||
go.uber.org/multierr v1.9.0 // indirect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue