mirror of
https://github.com/spf13/viper
synced 2025-05-06 20:27:17 +00:00
fixed formatting
This commit is contained in:
parent
da4885ce3d
commit
e4c9d87b4c
1 changed files with 2 additions and 2 deletions
4
viper.go
4
viper.go
|
@ -100,7 +100,7 @@ type EnvStore interface {
|
||||||
Get(key string) string
|
Get(key string) string
|
||||||
}
|
}
|
||||||
|
|
||||||
type RealEnvStore struct {}
|
type RealEnvStore struct{}
|
||||||
|
|
||||||
func (e *RealEnvStore) Get(key string) string {
|
func (e *RealEnvStore) Get(key string) string {
|
||||||
return os.Getenv(key)
|
return os.Getenv(key)
|
||||||
|
@ -174,7 +174,7 @@ type Viper struct {
|
||||||
|
|
||||||
onConfigChange func(fsnotify.Event)
|
onConfigChange func(fsnotify.Event)
|
||||||
|
|
||||||
envStore EnvStore
|
envStore EnvStore
|
||||||
}
|
}
|
||||||
|
|
||||||
func baseNew() *Viper {
|
func baseNew() *Viper {
|
||||||
|
|
Loading…
Add table
Reference in a new issue