Skip to content

Instantly share code, notes, and snippets.

@mogeta
Last active December 20, 2015 15:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mogeta/6154928 to your computer and use it in GitHub Desktop.
Save mogeta/6154928 to your computer and use it in GitHub Desktop.
Go弱の会に向けて資料作成開始。

Go弱向け資料。

この資料はGo弱の会向けに作成中の資料です。 Go強の方がいらっしゃいましたら補足とかもらえると助かります。

インストール

GOROOT,GOPATHの設定

  • export GOROOT="/usr/local/Cellar/go/1.1.1"
  • export GOPATH=$HOME/go #作業ディレクトリ
  • export PATH=$PATH:$GOPATH/bin

hello world

 package main

 import "fmt"

 func main() {
	fmt.Println("Hello, 世界")
 }

機能文法流し読み

文法のお話。

http://golang.org/doc/effective_go.html

コマンドのお話。

http://golang.org/cmd/go/

  • go build
  • go env #環境の確認
  • go fmt #フォーマット
  • go get
  • go install #compile and install

Editor

a tour of go

http://go-tour-jp.appspot.com/

gae/g

https://developers.google.com/appengine/?hl=ja

https://developers.google.com/appengine/?hl=en

DL

https://developers.google.com/appengine/downloads#Google_App_Engine_SDK_for_Go

Getting Started

https://developers.google.com/appengine/docs/go/gettingstarted/introduction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment