You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The latest version (v12.2.0 at the moment) is effectivly un-gettable.
To Reproduce
Steps to reproduce the behavior:
go get github.com/iris-contrib/swagger/v12@master
We get the following line in go.mod:
require github.com/iris-contrib/swagger/v12 v12.2.0-alpha //wrong version
go get github.com/iris-contrib/swagger/[email protected]
We get this error:
go: github.com/iris-contrib/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/iris-contrib/swagger/v12")
Expected behavior
We should get the correct version in go.mod:
require github.com/iris-contrib/swagger/v12 v12.2.0
Desktop (please complete the following information):
OS: all majior [linux, windows, osx]
iris.Version
v12.2.1
Additional context
The problem is due to the fact that, in the master branch, the module declaration in go.mod lacks the v12 suffix.
The text was updated successfully, but these errors were encountered:
Describe the bug
The latest version (v12.2.0 at the moment) is effectivly un-gettable.
To Reproduce
Steps to reproduce the behavior:
go get github.com/iris-contrib/swagger/v12@master
We get the following line in go.mod:
require github.com/iris-contrib/swagger/v12 v12.2.0-alpha //wrong version
go get github.com/iris-contrib/swagger/[email protected]
We get this error:
go: github.com/iris-contrib/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/iris-contrib/swagger/v12")
Expected behavior
We should get the correct version in go.mod:
require github.com/iris-contrib/swagger/v12 v12.2.0
Desktop (please complete the following information):
iris.Version
Additional context
The problem is due to the fact that, in the master branch, the module declaration in go.mod lacks the v12 suffix.
The text was updated successfully, but these errors were encountered: