qur / withmock

Automatic Go package mock generation tool
Other
71 stars 9 forks source link

import of ".../lib" breaks forks #26

Closed karim-eclipseio closed 10 years ago

karim-eclipseio commented 10 years ago

I forked this repo, and made some modifications, not realizing that main.go imports "github.com/qur/withmock/lib". I had to change it to my github path. Is this expected? Thanks!

qur commented 10 years ago

This is how go packages are expected to work.

See https://code.google.com/p/go/source/browse/openpgp/read.go?repo=crypto for example.

I'm pretty sure I remember some threads about this on the go-nuts mailing list, but I don't have time to look them up right now.

karim-eclipseio commented 10 years ago

ok. thanks!