From 4317f4793ed721bb064e4044643eae7429d26892 Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 15 Oct 2018 14:41:40 +0800 Subject: [PATCH] remove github.com/magiconair/properties --- viper.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/viper.go b/viper.go index edbb4ac..49119be 100644 --- a/viper.go +++ b/viper.go @@ -34,7 +34,6 @@ import ( "time" "github.com/fsnotify/fsnotify" - "github.com/magiconair/properties" "github.com/mitchellh/mapstructure" "github.com/spf13/afero" "github.com/spf13/cast" @@ -157,10 +156,6 @@ type Viper struct { aliases map[string]string typeByDefValue bool - // Store read properties on the object so that we can write back in order with comments. - // This will only be used if the configuration read is a properties file. - properties *properties.Properties - onConfigChange func(fsnotify.Event) }