Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Hello Go
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Nathan Youngman
July 28, 2014
Programming
0
170
Hello Go
Get Go installed.
Nathan Youngman
July 28, 2014
Tweet
Share
More Decks by Nathan Youngman
See All by Nathan Youngman
The Healthy Programmer
nathany
2
120
Go and Node.js: a comparison
nathany
1
240
Diet Hacks
nathany
2
390
Go 1.6 and HTTP/2
nathany
3
150
Upgrading Rails Redux
nathany
1
99
GopherCon recap
nathany
0
190
Go Functions
nathany
0
110
Go Arrays & Slices
nathany
0
160
Go Types
nathany
2
140
Other Decks in Programming
See All in Programming
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
230
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
310
OTP を自動で入力する裏技
megabitsenmzq
0
120
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
130
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
280
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
1.1k
CSC307 Lecture 14
javiergs
PRO
0
480
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
150
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
410
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
490
Understanding Apache Lucene - More than just full-text search
spinscale
0
130
Ruby and LLM Ecosystem 2nd
koic
1
1.2k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
GraphQLとの向き合い方2022年版
quramy
50
14k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
How to build a perfect <img>
jonoalderson
1
5.3k
Prompt Engineering for Job Search
mfonobong
0
200
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
The SEO identity crisis: Don't let AI make you average
varn
0
420
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Odyssey Design
rkendrick25
PRO
2
550
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
860
Transcript
Hello Go @EdmontonGo Go gopher designed by Renée French. speakerdeck.com/nathany/hello-go
Install Go • Installers at golang.org/dl! • Set environment variables
export GOPATH=$HOME/code export PATH=$PATH:$HOME/go/bin:$GOPATH/bin • $ go run hello.go package main import "fmt" func main() { fmt.Println("Hello World") }
Editor • Syntax highlighting • Run gofmt on save (or
goimports) • Code completion (gocode) • Golint, go vet, oracle
• Atom atom.io/packages/go-plus • Emacs github.com/dominikh/go-mode.el dominik.honnef.co/posts/2013/03/writing_go_in_emacs • Sublime Text
github.com/DisposaBoy/GoSublime • Vim github.com/fatih/vim-go obahua.com/setup-vim-for-go-development vim.spf13.com
Hello Web package main import ( "fmt" "net/http" )
func handler(w http.ResponseWriter, r *http.Request) { fmt.Fprintf(w, "Hello %s!", r.URL.Path[1:]) } func main() { http.HandleFunc("/", handler) http.ListenAndServe(":8080", nil) } 127.0.0.1:8080/World
Continue • Code Retreat Sunday, August 10 @ 8:45 AM
to 4:00 PM coderetreat-yeg-20140810.eventbrite.ca • Edmonton Go (Hack Night) Monday, August 25 @ 6:30 PM • How to Write Go Code golang.org/doc/code.html • Effective Go golang.org/doc/effective_go.html • A Tour of Go tour.golang.org