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
$ go get -u -t github.com/grafana/grafana/...
package github.com/grafana/grafana/pkg/api
imports github.com/grafana/grafana/vendor/github.com/smartystreets/goconvey/convey: must be imported as github.com/smartystreets/goconvey/convey
package github.com/grafana/grafana/pkg/components/simplejson
imports github.com/grafana/grafana/vendor/github.com/bmizerany/assert: must be imported as github.com/bmizerany/assert
package github.com/grafana/grafana/vendor/github.com/bmizerany/assert/example
imports assert: unrecognized import path "assert" (import path does not begin with hostname)
package github.com/grafana/grafana/vendor/golang.org/x/oauth2/google
imports google.golang.org/cloud/compute/metadata: code in directory /usr/local/google/home/rsc/go100/tmp/src/google.golang.org/cloud/compute/metadata expects import "cloud.google.com/go/compute/metadata"
package github.com/grafana/grafana/vendor/golang.org/x/oauth2/google
imports github.com/grafana/grafana/vendor/golang.org/x/oauth2/google: must be imported as golang.org/x/oauth2/google
$
The problem seems to be that the vendored imports are in test code.
For example:
package github.com/grafana/grafana/pkg/components/simplejson
imports github.com/grafana/grafana/vendor/github.com/bmizerany/assert: must be imported as github.com/bmizerany/assert
But github.com/grafana/grafana/pkg/components/simplejson/simplejson_test.go does import that code as "github.com/bmizerany/assert".
The text was updated successfully, but these errors were encountered:
The problem seems to be that the vendored imports are in test code.
For example:
But github.com/grafana/grafana/pkg/components/simplejson/simplejson_test.go does import that code as "github.com/bmizerany/assert".
The text was updated successfully, but these errors were encountered: