go compile for raspberry pi code example Example: go compile for raspberry pi env GOOS=linux GOARCH=arm GOARM=5 go build