mirror of
https://github.com/spf13/viper
synced 2025-05-06 20:27:17 +00:00
Cater for case-sensitive dependencies
Switching jww from jwalterweatherman to jWalterWeatherman, `vgo` breaks otherwise. ``` vgo: import "github.com/elastic/<snipped>" -> import "github.com/elastic/<snipped>/cmd" -> import "github.com/spf13/viper" -> import "github.com/spf13/jwalterweatherman": module path of repo is github.com/spf13/jWalterWeatherman, not github.com/spf13/jwalterweatherman (wrong case) ```
This commit is contained in:
parent
aafc9e6bc7
commit
500b8946d7
2 changed files with 2 additions and 2 deletions
2
util.go
2
util.go
|
@ -20,7 +20,7 @@ import (
|
||||||
|
|
||||||
"github.com/spf13/afero"
|
"github.com/spf13/afero"
|
||||||
"github.com/spf13/cast"
|
"github.com/spf13/cast"
|
||||||
jww "github.com/spf13/jwalterweatherman"
|
jww "github.com/spf13/jWalterWeatherman"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ConfigParseError denotes failing to parse configuration file.
|
// ConfigParseError denotes failing to parse configuration file.
|
||||||
|
|
2
viper.go
2
viper.go
|
@ -42,7 +42,7 @@ import (
|
||||||
toml "github.com/pelletier/go-toml"
|
toml "github.com/pelletier/go-toml"
|
||||||
"github.com/spf13/afero"
|
"github.com/spf13/afero"
|
||||||
"github.com/spf13/cast"
|
"github.com/spf13/cast"
|
||||||
jww "github.com/spf13/jwalterweatherman"
|
jww "github.com/spf13/jWalterWeatherman"
|
||||||
"github.com/spf13/pflag"
|
"github.com/spf13/pflag"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue