Skip to main content

Building a Cross-Platform Go Binary

Hands-On Lab


Photo of

Training Architect





One of Go's greatest features is that it can be used to build statically linked cross-platform binaries. In this learning activity, you'll go through the process of taking an existing Go application and building separate binaries for a few different Unix-based operating systems: Linux, macOS, and FreeBSD.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.