go-macaroon / macaroon

A native Go implementation of macaroons
BSD 3-Clause "New" or "Revised" License
182 stars 24 forks source link

Enforce "gopkg.in/macaroon.v1" canonical import #20

Closed mkmik closed 7 years ago

mkmik commented 7 years ago

I noticed some of my colleagues just import this code after finding https://github.com/go-macaroon/macaroon, causing duplications in the GOPATH, when other libraries instead use the correct import path (as documented in your README).

Go has a way to deal with that, see https://golang.org/cmd/go/#hdr-Import_path_checking

rogpeppe commented 7 years ago

Thanks for this useful suggestion.