From 500b8946d76abcad19481fefc3626375aba77c7a Mon Sep 17 00:00:00 2001 From: Panagiotis Moustafellos Date: Wed, 21 Feb 2018 16:28:35 +0200 Subject: [PATCH] Cater for case-sensitive dependencies Switching jww from jwalterweatherman to jWalterWeatherman, `vgo` breaks otherwise. ``` vgo: import "github.com/elastic/" -> import "github.com/elastic//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) ``` --- util.go | 2 +- viper.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util.go b/util.go index 952cad4..e50d69b 100644 --- a/util.go +++ b/util.go @@ -20,7 +20,7 @@ import ( "github.com/spf13/afero" "github.com/spf13/cast" - jww "github.com/spf13/jwalterweatherman" + jww "github.com/spf13/jWalterWeatherman" ) // ConfigParseError denotes failing to parse configuration file. diff --git a/viper.go b/viper.go index ad8a037..222e0f3 100644 --- a/viper.go +++ b/viper.go @@ -42,7 +42,7 @@ import ( toml "github.com/pelletier/go-toml" "github.com/spf13/afero" "github.com/spf13/cast" - jww "github.com/spf13/jwalterweatherman" + jww "github.com/spf13/jWalterWeatherman" "github.com/spf13/pflag" )