Skip to content

Instantly share code, notes, and snippets.

View schettino's full-sized avatar

Matheus Schettino schettino

View GitHub Profile
@schettino
schettino / go-build-all
Created December 3, 2021 17:35 — forked from eduncan911/go-build-all
Go Cross-Compile Script
#!/bin/bash
#
# GoLang cross-compile snippet for Go 1.6+ based loosely on Dave Chaney's cross-compile script:
# http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go
#
# To use:
#
# $ cd ~/path-to/my-awesome-project
# $ go-build-all
#