hey can anyone explain to me what docker
go-wrapper should do ?
following this comment:
This script allows us to take a generic directory of Go source files such as "/go/src/app" and determine that the canonical "import path" of where that code expects to live and reference itself is "github.com/jsmith/my-cool-app". It will then ensure that "/go/src/github.com/jsmith/my-cool-app" is a symlink to "/go/src/app", which allows us to build and run it under the proper package name.
I understand that if I am developing a project under mine github go path then mounting it
/go/src/app inside a docker container will work with imports still remained unchanged (github imports) correct ?
COPY . /go/src/app WORKDIR /go/src/app RUN go-wrapper download RUN go-wrapper install
however when i try to install/run with vendors using dep
go get -u github.com/golang/dep/cmd/dep dep init dep ensure -update
it downloads my repo to vendor and then tries to import it from there why is that ?