Use UserConfigDir instead of $HOME

go-homedir???! I be using go 1.13 now
This commit is contained in:
comp500
2019-09-19 01:22:59 +01:00
parent 44cd63923e
commit 79a62c735e
2 changed files with 10 additions and 8 deletions

1
go.mod
View File

@@ -12,7 +12,6 @@ require (
github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e // indirect
github.com/igorsobreira/titlecase v0.0.0-20140109233139-4156b5b858ac
github.com/mattn/go-isatty v0.0.4 // indirect
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/mapstructure v1.1.2
github.com/skratchdot/open-golang v0.0.0-20190402232053-79abb63cd66e
github.com/spf13/cobra v0.0.5