fork from:
https://github.com/youchainhq/xgo2
using Docker Hub to hold the images
enable GOPROXY
environment variable when compiling
Send more environment variables when compiling.
An example is to set the GOPRIVATE
when a go mod project references some private modules (and in this case the GOPROXY
should be a custom one).
xgo2 --envlist="GOPRIVATE=private.git.repo.com"
go get -u github.com/stars-labs/xgo2