I have seen local GOPATH work too. I'm not sure exactly how you implemented it, but you can take a look here for an example of how it can be done. They have a local environment that sets the GOPATH to the project directory when inside the directory.
内部 不能访问 外部的地址。
https://blog.csdn.net/linux_s2018/article/details/81198627

这个是官方文档
https://docs.gitlab.com/ee/ci/yaml/README.html#dependencies

网友评论