AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.08k stars 350 forks source link

Edit release notes for correct import path #230

Closed ahmetb closed 5 years ago

ahmetb commented 5 years ago

github.com/alecaivazis/survey/v2 vs AlecAivazis actually is known to cause problems. When Sirupsen/logrus has changed from github.com/Sirupsen/logrus to github.com/sirupsen/logrus it actually broke a lot of things like various go dependency management tools.

Please make sure to use the correct capitalization in import paths.

AlecAivazis commented 5 years ago

Nice catch! Thanks

ahmetb commented 5 years ago

yeah it was totally failing when I used lowercase import

$ go mod tidy
go: finding github.com/alecaivazis/survey/v2/core latest
go: finding github.com/AlecAivazis/survey/v2/core latest
go: github.com/alecaivazis/survey/v2@v2.0.0: parsing go.mod: unexpected module path "github.com/AlecAivazis/survey/v2"
AlecAivazis commented 5 years ago

damn! Well luckily it wasn't a problem with the codebase...