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 mod #1744

Closed
rmasci opened this issue Dec 5, 2023 · 1 comment
Closed

Go mod #1744

rmasci opened this issue Dec 5, 2023 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@rmasci
Copy link

rmasci commented Dec 5, 2023

Go mod nightmares

I can't use the package! When I go to include github.com/qax-os/excelize it tells me the module declares its path as github.com/360EntSecGroup-Skylar/excelize

So I do a go get github.com/360EntSecGroup-Skylar/excelize it tells me that module declares it's self as
github.com/xuri/excelize/v2

If I use that as my import path it fails too. This project has passed through many different repositorys, wouldn't it be a good idea to make sure the go.mod file works?

Steps to reproduce the issue:

  1. go get github.com/qax-os/excelize
  2. go get github.com/360EntSecGroup-Skylar/excelize
  3. go get github.com/xuri/excelize/v2

can't get the package to work in IDE

go 1.21.4

Excelize version or commit ID:

v2.8.0

Environment details (OS, Microsoft Excel™ version, physical, etc.):

@xuri
Copy link
Member

xuri commented Dec 7, 2023

Thanks for your issue. I'm sorry for causing you confusion, this issue is related to #522, #973, #1020, #1079 and #1472. The new go modules import path github.com/xuri/excelize/v2 took effect since version 2.4.1, please use this URL. I've closed this issue, if you have questions, please let me know, and you can reopen this anytime.

@xuri xuri closed this as completed Dec 7, 2023
@xuri xuri added the duplicate This issue or pull request already exists label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants