Golang

Install Go

  1. Download IDE from https://www.jetbrains.com/go/download/
  2. Download Go SDK from https://golang.org/dl/
  3. Set GOPATH enviroment variable like 
export GOPATH=/Volumes/disk2/projects/go/

First Project

make sure the package is named main

猜你喜欢

转载自my.oschina.net/swingcoder/blog/1811251