Say there's a Go app at github.com/supermighty/app
, which has a package a
that references b
.
If I fork that repository to github.com/ericlathrop/app
, now the local file $GOPATH/github.com/ericlathrop/app/a/something.go
still has the line
import ("github.com/supermighty/app/b")
so when I edit $GOPATH/github.com/ericlathrop/app/b/something.go
, my changes are never seen in a
because it's still using the original copy of b
!
The workaround is to symlink the original repository path to the fork's path: