golang / snappy

The Snappy compression format in the Go programming language.
BSD 3-Clause "New" or "Revised" License
1.52k stars 164 forks source link

fix go test ./... when snappy is in a vendor directory #28

Closed dhiltonp closed 8 years ago

dhiltonp commented 8 years ago

Before this change: mycode $ go test ./... can't load package: package mycode/vendor/github.com/golang/snappy: code in directory mycode/vendor/github.com/golang/snappy expects import "github.com/golang/snappy"

After this, go test ./... works from the parent project.

nigeltao commented 8 years ago

I started a conversation on the golang-dev mailing list: https://groups.google.com/d/topic/golang-dev/h5QFSH-JxFg/discussion

nigeltao commented 8 years ago

What does "go version" say? That golang-dev conversation suggests that the issue may simply be something fixed in the latest version.

dhiltonp commented 8 years ago

Yeah, it's fixed. Sorry for that!