Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Rename package to github.com/go-survey/survey/v2 in go.mod #465

Open
EtienneM opened this issue Nov 3, 2022 · 1 comment
Open

Rename package to github.com/go-survey/survey/v2 in go.mod #465

EtienneM opened this issue Nov 3, 2022 · 1 comment
Labels

Comments

@EtienneM
Copy link

EtienneM commented Nov 3, 2022

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?

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

@EtienneM EtienneM added the Bug label Nov 3, 2022
mfiumara added a commit to mfiumara/survey that referenced this issue Apr 26, 2023
@mfiumara
Copy link

mfiumara commented Apr 27, 2023

I opened a PR that should fix this (#484)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants