Installing Go on macOS X
Overview
A quick introduction to golang:
- A language developed by Google
- Dynamically typed (like Python)
- Strong at distributed processing
and so on.
See Wikipedia:
Steps
If you haven’t installed brew yet, please refer to the following.
MacOSXにHomebrewをインストールする
1ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 以下MacOSX…
Install via brew
- hello.go
Build
1 | go build hello.go |
Run
1 | ./hello |
You’re all set if it displays:
Hello, World
Installing Go on macOS X
https://kenzo0107.github.io/en/2015/04/12/install-go-on-macosx/