xgo2

command module
v0.0.0-...-7a4f834 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 12 Imported by: 0

README

xgo2 - Go CGO cross compiler

fork from:

https://github.com/youchainhq/xgo2

using Docker Hub to hold the images

enhanced

--goproxy

enable GOPROXY environment variable when compiling

--envlist

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"

install

go get -u github.com/stars-labs/xgo2

Documentation

Overview

Wrapper around the GCO cross compiler docker container.

Directories

Path Synopsis
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL