Closed joiggama closed 9 years ago
After implementing gpm and gvp, if you run:
$ go test ./...
You'd get the following errors:
configs/spree/config.go:9:2: cannot find package "github.com/crowdint/gopher-spree-api/configs" in any of: /usr/local/Cellar/go/1.4.2/libexec/src/github.com/crowdint/gopher-spree-api/configs (from $GOROOT) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/.godeps/src/github.com/crowdint/gopher-spree-api/configs (from $GOPATH) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/src/github.com/crowdint/gopher-spree-api/configs domain/json/variant.go:6:2: cannot find package "github.com/crowdint/gopher-spree-api/configs/spree" in any of: /usr/local/Cellar/go/1.4.2/libexec/src/github.com/crowdint/gopher-spree-api/configs/spree (from $GOROOT) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/.godeps/src/github.com/crowdint/gopher-spree-api/configs/spree (from $GOPATH) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/src/github.com/crowdint/gopher-spree-api/configs/spree domain/json/variant.go:7:2: cannot find package "github.com/crowdint/gopher-spree-api/domain/models" in any of: /usr/local/Cellar/go/1.4.2/libexec/src/github.com/crowdint/gopher-spree-api/domain/models (from $GOROOT) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/.godeps/src/github.com/crowdint/gopher-spree-api/domain/models (from $GOPATH) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/src/github.com/crowdint/gopher-spree-api/domain/models interfaces/repositories/adjustment.go:4:2: cannot find package "github.com/crowdint/gopher-spree-api/domain/json" in any of: /usr/local/Cellar/go/1.4.2/libexec/src/github.com/crowdint/gopher-spree-api/domain/json (from $GOROOT) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/.godeps/src/github.com/crowdint/gopher-spree-api/domain/json (from $GOPATH) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/src/github.com/crowdint/gopher-spree-api/domain/json interfaces/repositories/inventory_unit.go:5:2: cannot find package "github.com/crowdint/gopher-spree-api/utils" in any of: /usr/local/Cellar/go/1.4.2/libexec/src/github.com/crowdint/gopher-spree-api/utils (from $GOROOT) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/.godeps/src/github.com/crowdint/gopher-spree-api/utils (from $GOPATH) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/src/github.com/crowdint/gopher-spree-api/utils interfaces/web/main.go:6:2: cannot find package "github.com/crowdint/gopher-spree-api/interfaces/repositories" in any of: /usr/local/Cellar/go/1.4.2/libexec/src/github.com/crowdint/gopher-spree-api/interfaces/repositories (from $GOROOT) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/.godeps/src/github.com/crowdint/gopher-spree-api/interfaces/repositories (from $GOPATH) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/src/github.com/crowdint/gopher-spree-api/interfaces/repositories interfaces/web/main.go:7:2: cannot find package "github.com/crowdint/gopher-spree-api/interfaces/web/api" in any of: /usr/local/Cellar/go/1.4.2/libexec/src/github.com/crowdint/gopher-spree-api/interfaces/web/api (from $GOROOT) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/.godeps/src/github.com/crowdint/gopher-spree-api/interfaces/web/api (from $GOPATH) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/src/github.com/crowdint/gopher-spree-api/interfaces/web/api interfaces/web/api/orders.go:8:2: cannot find package "github.com/crowdint/gopher-spree-api/usecases/json" in any of: /usr/local/Cellar/go/1.4.2/libexec/src/github.com/crowdint/gopher-spree-api/usecases/json (from $GOROOT) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/.godeps/src/github.com/crowdint/gopher-spree-api/usecases/json (from $GOPATH) /Users/joiggama/.go/src/github.com/crowdint/gopher-spree-api/src/github.com/crowdint/gopher-spree-api/usecases/json
Project's subpackages where not found because the $GOPATH does not include these subpackages.
This PR is to update the README instructions to do a ONE TIME only operation to fix it.
LGTM
After implementing gpm and gvp, if you run:
You'd get the following errors:
Project's subpackages where not found because the $GOPATH does not include these subpackages.
This PR is to update the README instructions to do a ONE TIME only operation to fix it.