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
Importing a path ending with ... that uses internal packages causes strange errors about internal packages not being allowed to import themselves.
$ go version
go version devel +d3ffc97 Wed Jul 29 23:50:20 2015 +0000 darwin/amd64
$ mkdir /tmp/gopath || rm -rf /tmp/gopath/src
$ GOPATH=/tmp/gopath go get google.golang.org/cloud/...
package google.golang.org/cloud/bigtable/internal/cbtrc
imports google.golang.org/cloud/bigtable/internal/cbtrc: use of internal package not allowed
package google.golang.org/cloud/bigtable/internal/cluster_data_proto
imports google.golang.org/cloud/bigtable/internal/cluster_data_proto: use of internal package not allowed
package google.golang.org/cloud/bigtable/internal/cluster_service_proto
imports google.golang.org/cloud/bigtable/internal/cluster_service_proto: use of internal package not allowed
package google.golang.org/cloud/bigtable/internal/data_proto
imports google.golang.org/cloud/bigtable/internal/data_proto: use of internal package not allowed
package google.golang.org/cloud/bigtable/internal/duration_proto
imports google.golang.org/cloud/bigtable/internal/duration_proto: use of internal package not allowed
etc...
This doesn't fail if the ... suffix is dropped. It also succeeds if you repeat the go get a second time without destroying GOPATH first.
Might be related to #11307, except the -u flag seems to have no effect here.
Similar to #11828 in that it only fails with ... on an empty GOPATH
The text was updated successfully, but these errors were encountered:
Importing a path ending with
...
that uses internal packages causes strange errors about internal packages not being allowed to import themselves.This doesn't fail if the
...
suffix is dropped. It also succeeds if you repeat thego get
a second time without destroying GOPATH first.Might be related to #11307, except the
-u
flag seems to have no effect here.Similar to #11828 in that it only fails with
...
on an empty GOPATHThe text was updated successfully, but these errors were encountered: