diff options
author | Martin Polden <mpolden@mpolden.no> | 2022-04-08 15:22:20 +0200 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2022-04-11 08:56:04 +0200 |
commit | 417ac134b9ea21772bb4986779eedbd64ea5f8a5 (patch) | |
tree | d65ed1715718dcb959c649a491b6e9feb7c40ace /client/go/go.mod | |
parent | 574fccecfc2e47f7326005a11783f9a2562e16d7 (diff) |
Remove viper
Cobra no longer depends on Viper since 1.4.0. By implementing our own config
instead, we can get rid of Viper altogether and remove some hacks made necessary
by that library.
Bonus: Removes the large dependency tree pulled in by Viper, reducing the binary
size by ~1 MB.
Diffstat (limited to 'client/go/go.mod')
-rw-r--r-- | client/go/go.mod | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/go/go.mod b/client/go/go.mod index 87f0ed76d85..15b45a291a6 100644 --- a/client/go/go.mod +++ b/client/go/go.mod @@ -4,17 +4,20 @@ go 1.16 require ( github.com/briandowns/spinner v1.16.0 + github.com/davecgh/go-spew v1.1.1 // indirect github.com/fatih/color v1.10.0 + github.com/godbus/dbus/v5 v5.0.4 // indirect github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 + github.com/kr/pretty v0.1.0 // indirect github.com/mattn/go-colorable v0.1.8 github.com/mattn/go-isatty v0.0.13 github.com/pkg/browser v0.0.0-20210706143420-7d21f8c997e2 github.com/spf13/cobra v1.4.0 github.com/spf13/pflag v1.0.5 - github.com/spf13/viper v1.8.1 github.com/stretchr/objx v0.1.1 // indirect github.com/stretchr/testify v1.7.0 github.com/zalando/go-keyring v0.1.1 golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect + gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b ) |