-
Notifications
You must be signed in to change notification settings - Fork 521
Closed
Description
Some non-trivial application (like etcd) import subpackages from their own import paths, and thus expect to be stored at a fixed location in GOPATH
, example:
import "github.com/coreos/etcd/log"
Currently he onbuild
variant ADD
the source code in GOPATH/src/app
, this causes go get ./...
to fetch this kind of dependencies remotely and possibly ignore local change.
One possible solution is to add support for a .godir
file defining the application import path at the root of the source directory, see:
GoogleCloudPlatform/golang-docker#10
GoogleCloudPlatform/golang-docker#12
Metadata
Metadata
Assignees
Labels
No labels