Table of Contents

go build

What is it?

`go build` compiles Go source code into an executable binary.

What is it used for?

Examples

    go build .
 
    go build -o app .
 
    GOOS=linux GOARCH=amd64 go build -o app-linux .
 

Hard words (English)