Already exists:  https://github.com/Homebrew/homebrew/blob/master/Library/Formula/go.rb#L23