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
mkdir example && cd example
export GOPATH="$PWD"
mkdir main && cd main
cat > main.go <<EOF
package main
import "github.com/gocql/gocql"
func main() {
gocql.NewCluster("192.168.1.1", "192.168.1.2", "192.168.1.3")
}
EOF
cat > go.mod <<EOF
module main
require github.com/gocql/gocql v0.0.0-20190208221138-c53c3654dc8a
EOF
go mod download
cd "$GOPATH/pkg/mod/github.com/gocql/[email protected]" && go list
What did you expect to see?
$ go list
github.com/gocql/gocql
What did you see instead?
In go1.11.5:
$ cd "$GOPATH/pkg/mod/github.com/gocql/[email protected]" && go list
go: writing go.sum: open $GOPATH/pkg/mod/github.com/gocql/[email protected]/go.sum: permission denied
In go1.12rc1:
$ cd "$GOPATH/pkg/mod/github.com/gocql/[email protected]" && go list
go: writing go.sum: open $GOPATH/pkg/mod/github.com/gocql/[email protected]/go.sum389063318.tmp: permission denied
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Tried to
go list
a module in $GOPATH/pkg/mod.What did you expect to see?
What did you see instead?
In go1.11.5:
In go1.12rc1:
Related
#27161
The text was updated successfully, but these errors were encountered: