Skip to content

Cross Compile GoAuth2

Ken Williamson edited this page Jan 18, 2020 · 12 revisions

Cross Compiling GoAuth2

Command: env GOOS=target-OS GOARCH=target-architecture go build -o main *.go

GOOS - Target Operating System GOARCH - Target Platform Cool
col 3 is right-aligned $1600
col 2 is centered $12
zebra stripes are neat $1

GOOS - Target Operating System

android

darwin

darwin

darwin darwin dragonfly freebsd freebsd freebsd linux linux linux linux linux linux linux linux linux linux netbsd netbsd netbsd openbsd openbsd openbsd plan9 plan9 solaris windows