Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go Get Failed #973

Closed
AngangGuo opened this issue Jul 27, 2021 · 11 comments
Closed

Go Get Failed #973

AngangGuo opened this issue Jul 27, 2021 · 11 comments
Projects

Comments

@AngangGuo
Copy link

I can run this command successfully:

go get github.com/360EntSecGroup-Skylar/excelize/v2

But this command failed:

go get github.com/xuri/excelize/v2
go get: github.com/xuri/excelize/v2@none updating to
        github.com/xuri/excelize/v2@v2.4.0: parsing go.mod:
        module declares its path as: github.com/360EntSecGroup-Skylar/excelize/v2
                but was required as: github.com/xuri/excelize/v2
\> go env
set GO111MODULE=auto
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\cxx00\AppData\Local\go-build
set GOENV=C:\Users\cxx00\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\cxx00\go\pkg\mod
set GOOS=windows
set GOPATH=C:\Users\cxx00\go
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Users\cxx00\sdk\go1.16.2
...
@xuri
Copy link
Member

xuri commented Jul 28, 2021

The new go modules import path will take effect after the next version 2.4.1 released.

@eaglexiang
Copy link
Contributor

Think about:

go mod edit -replace=github.com/360EntSecGroup-Skylar/excelize/v2@master=github.com/xuri/excelize/v2@master

just for now.

@hunterhug
Copy link

smile.... what the ***

@xuri xuri pinned this issue Jul 29, 2021
@ikhin
Copy link

ikhin commented Jul 29, 2021

go mod vendor should try go get github.com/xuri/excelize/v2@master , it's like the author said, will get v2.4.1
the go.mod result is github.com/xuri/excelize/v2 v2.4.1-0.20210728160357-7dbf88f221f2

@Arnie97
Copy link
Contributor

Arnie97 commented Jul 29, 2021

The breaking change was introduced in e9ae9b4.
Did the author leave Qi-anxin (formerly @360EntSecGroup-Skylar) and start his new career in @alibaba? ;-)

@xuri
Copy link
Member

xuri commented Jul 30, 2021

The repo URL has changed twice for some reason, I'm sorry for bringing you inconvenience, I still maintain this project and welcome contributions.

@ChillOrb
Copy link

ChillOrb commented Jul 30, 2021

The repo URL has changed twice for some reason, I'm sorry for bringing you inconvenience, I still maintain this project and welcome contributions.

Can you please give updates on this issue?

github.com/xuri/excelize/v2: github.com/xuri/excelize/v2@v2.4.0: parsing go.mod: module declares its path as: github.com/360EntSecGroup-Skylar/excelize/v2 but was required as: github.com/xuri/excelize/v2

@xuri
Copy link
Member

xuri commented Jul 30, 2021

The repo URL has changed twice for some reason, I'm sorry for bringing you inconvenience, I still maintain this project and welcome contributions.

Can you please give updates on this issue?

github.com/xuri/excelize/v2: github.com/xuri/excelize/v2@v2.4.0: parsing go.mod: module declares its path as: github.com/360EntSecGroup-Skylar/excelize/v2 but was required as: github.com/xuri/excelize/v2

The next version 2.4.1 will be released on August 2nd, 2021.

@xuri xuri added this to Breaking Changes in v2.4.1 Jul 30, 2021
@xuri xuri closed this as completed Aug 1, 2021
v2.4.1 automation moved this from Breaking Changes to Bugfix Aug 1, 2021
@xuri xuri unpinned this issue Aug 1, 2021
@xuri xuri mentioned this issue Sep 14, 2021
@llqgit
Copy link

llqgit commented Sep 24, 2021

The repo URL has changed twice for some reason, I'm sorry for bringing you inconvenience, I still maintain this project and welcome contributions.

As you say, so can you make sure would not change the name again? It's not friendly at all.

@xuri
Copy link
Member

xuri commented Sep 24, 2021

Sorry, I can't make sure the organization name if will be changed in the future, but the original repo address (https://github.com/xuri/excelize) and go module name (github.com/xuri/excelize/v2) won't be changed.

@eaglexiang
Copy link
Contributor

Any way, we just need a stable path to import. Both xuri/* and any_org/* are OK. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v2.4.1
Bugfix
Development

No branches or pull requests

8 participants