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

The module value in the go.mod is wrong #16

Open
wechasing opened this issue Mar 22, 2021 · 4 comments
Open

The module value in the go.mod is wrong #16

wechasing opened this issue Mar 22, 2021 · 4 comments

Comments

@wechasing
Copy link

In the release: v12.2.0-alpha2 , the value in the go.mod is module github.com/iris-contrib/swagger

should it be module github.com/iris-contrib/swagger/v12 ?

I can not download it in my project with go mod with error:

go: github.com/iris-contrib/swagger/[email protected]: go.mod has non-.../v12 module path "github.com/iris-contrib/swagger" (and .../v12/go.mod does not exist) at revision v12.2.0-alpha2

@Vealcoo
Copy link

Vealcoo commented Dec 5, 2022

Same as me, Does any one know how to fix it?

@MuhmdHsn313
Copy link

I have the same issue

@kataras
Copy link
Member

kataras commented Dec 24, 2022

@wechasing @Vealcoo @MuhmdHsn313 please try it:

go get github.com/kataras/iris/v12@master
go get github.com/iris-contrib/swagger@master
go mod tidy -compat=1.19

@filippo-veneri
Copy link

It doesn't work. I want the latest version (v12.2.0 as of today).
I get this packages in go mod instead:

  • github.com/iris-contrib/swagger v0.0.0-20230820002204-56b041d3471a
  • github.com/iris-contrib/swagger/v12 v12.2.0-alpha
  • github.com/kataras/iris/v12 v12.2.5-0.20230817092616-b30cbdbcb308
  • github.com/swaggo/swag v1.8.10

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

No branches or pull requests

5 participants