I have some local packages defined within my application, for example, I have a crud model located at model/crud/crud.go
Within my application I am calling upon them using import("model/crud")
, for all of my local dependencies.
This resolves perfectly fine within the context of my application on my local machine, however when I try to push to openshift I get the following error:
imports model/crud: unrecognized import path "model/crud"
It looks like when openshift runs the build tool, it is attempting to run go get
on these imports in order to include them in the build path when compiling.
Is there a better way to resolve vendor specific dependencies without having to create a separate repo for them? I don't want to have to manage two separate repositories if I don't have to.