diff --git a/main.go b/main.go index fe22d73..4cf3824 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ import ( func main() { setDefaults() viper.AutomaticEnv() - gosrc := utils.GetGOPATH() + afero.FilePathSeparator + "src" + afero.FilePathSeparator + gosrc := strings.TrimSuffix(utils.GetGOPATH(), afero.FilePathSeparator ) + afero.FilePathSeparator + "src" + afero.FilePathSeparator pwd, err := os.Getwd() if err != nil { logrus.Error(err)