Open EtienneM opened 1 year ago
An example that showcases the bug.
Executing go get -u github.com/go-survey/survey/v2
go get -u github.com/go-survey/survey/v2
What did you expect to see?
No error
What did you see instead?
go: downloading github.com/go-survey/survey/v2 v2.3.6 go: github.com/go-survey/survey/v2@v2.3.6: parsing go.mod: module declares its path as: github.com/AlecAivazis/survey/v2 but was required as: github.com/go-survey/survey/v2
The GitHub repository has been renamed, but not the package name in go.mod:
https://github.com/go-survey/survey/blob/93657ef69381dd1ffc7a4a9cfe5a2aefff4ca4ad/go.mod#L1
I opened a PR that should fix this (https://github.com/go-survey/survey/pull/484)
An example that showcases the bug.
Executing
go get -u github.com/go-survey/survey/v2
What did you expect to see?
No error
What did you see instead?
The GitHub repository has been renamed, but not the package name in go.mod:
https://github.com/go-survey/survey/blob/93657ef69381dd1ffc7a4a9cfe5a2aefff4ca4ad/go.mod#L1