diff --git a/go.mod b/go.mod index 1eb7968..db7724b 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,6 @@ require ( github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect github.com/fsnotify/fsnotify v1.4.7 - github.com/ghodss/yaml v1.0.0 github.com/gogo/protobuf v1.2.1 // indirect github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef // indirect github.com/google/btree v1.0.0 // indirect diff --git a/viper.go b/viper.go index 5f2dd4f..bc038e3 100644 --- a/viper.go +++ b/viper.go @@ -25,7 +25,6 @@ import ( "encoding/json" "errors" "fmt" - "github.com/ghodss/yaml" "io" "log" "os" @@ -215,7 +214,7 @@ type Viper struct { properties *properties.Properties onConfigChange func(fsnotify.Event) - mu *sync.RWMutex + mu *sync.RWMutex } // New returns an initialized Viper instance.