Catalogue
Installing Go on macOS X

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:

http://ja.wikipedia.org/wiki/Go_%28%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0%E8%A8%80%E8%AA%9E%29

Steps

If you haven’t installed brew yet, please refer to the following.

Install via brew

  • hello.go

Build

1
go build hello.go

Run

1
./hello

You’re all set if it displays:
Hello, World

Author

Kenzo Tanaka

Posted on

2015-04-12

Licensed under