remove github.com/magiconair/properties

This commit is contained in:
victor 2018-10-15 14:41:40 +08:00
parent ce95343c2f
commit 4317f4793e

View file

@ -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)
}