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
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
package main
import"gopkg.in/kataras/iris.v6"funcmain() {
_= iris.Framework{}
}
vgo build -v
What did you expect to see?
no error should be reported.
What did you see instead?
# gopkg.in/kataras/iris.v6
../../../mod/gopkg.in/kataras/iris.v6@v6.0.0-20170518015654-76696083c385/context.go:23:2: imported and not used: "github.com/iris-contrib/formBinder" as formbinder
../../../mod/gopkg.in/kataras/iris.v6@v6.0.0-20170518015654-76696083c385/context.go:731:26: undefined: formBinder
The text was updated successfully, but these errors were encountered:
MartinForReal
changed the title
vgo doesn't recognize package in iris framework
vgo doesn't recognize formbuilder package in imported package list of context package in iris framework
Jun 29, 2018
MartinForReal
changed the title
vgo doesn't recognize formbuilder package in imported package list of context package in iris framework
x/vgo: failed to recognize formbuilder package in imported package list of context package in iris framework
Jun 29, 2018
The only tag for github.com/iris-contrib/formBinder is v4 and the only branch is 4.0.0, neither of which is a valid semantic version (in the sense defined by https://semver.org/).
Instead, vgo gives you the most recent commit for the master branch (ad9fb86), at which the package is declared as package formbinder. (It was renamed in commit ed52a69.)
This is a great example of why we need versioning support in Go, but I think vgo is working as expected here.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.10.3 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
What did you expect to see?
no error should be reported.
What did you see instead?
The text was updated successfully, but these errors were encountered: