GOOS=darwin GOARCH=amd64 go build hello.go …and your app works on Mac.
Marshall Banana

Another thing Marshall Banana — calling C code from Go creates plenty of other problems besides limiting portability. Dave Cheney wrote a good article on the subject.

Like what you read? Give Johannes Liebermann a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.