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
Hey oh let's go
Search
Renato Suero
June 28, 2017
Technology
40
0
Share
Hey oh let's go
Apresentação sobre GO no GDG Lisboa em Junho de 2017
Renato Suero
June 28, 2017
More Decks by Renato Suero
See All by Renato Suero
Implementando realtime usando MQTT e Go
renatosuero
0
86
Go Meetup dezembro
renatosuero
0
44
Golang PixelsCamp
renatosuero
0
55
Let's GO
renatosuero
0
73
GO Meetup
renatosuero
0
60
Aplicação Dinâmica com BackboneJS
renatosuero
0
32
Provisionando Servidores com Ansible
renatosuero
0
230
Other Decks in Technology
See All in Technology
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
320
弁護士ドットコム株式会社 エンジニア職向け 会社紹介資料
bengo4com
1
160
扱える不確実性を増やしていく - スタートアップEMが考える「任せ方」
kadoppe
0
310
LLM時代の検索アーキテクチャと技術的意思決定
shibuiwilliam
3
1.4k
AI時代のガードレールとしてのAPIガバナンス
nagix
0
290
Hacobu Tech Deck
hacobu
PRO
0
110
[OpsJAWS 40]リリースしたら終わり、じゃなかった。セキュリティ空白期間をAWS Security Agentで埋める
sh_fk2
3
240
クラウドネイティブな開発 ~ 認知負荷に立ち向かうためのコンテナ活用
literalice
0
140
Do Vibe Coding ao LLM em Produção para Busca Agêntica - TDC 2026 - Summit IA - São Paulo
jpbonson
3
130
ServiceNow Knowledge 26 の歩き方
manarobot
0
110
Good Enough Types: Heuristic Type Inference for Ruby
riseshia
1
250
AIを共同作業者にして書籍を執筆する方法 / How to Write a Book with AI as a Co-Creator
ama_ch
2
130
Featured
See All Featured
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.9k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
150
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The Language of Interfaces
destraynor
162
26k
Between Models and Reality
mayunak
3
270
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Optimizing for Happiness
mojombo
378
71k
Amusing Abliteration
ianozsvald
1
160
Transcript
None
GO != Golang
@renatosuero
Um pouco de história Em 2007 começa um projeto interno
no google. Desenvolvido por Rob Pike, Ken Thompson e Robert Griesemer. Em novembro de 2009 o google abriu o fonte da linguagem
https://github.com/golang/go/wiki/GoUsers
None
mkdir -p ~/go/{bin,src,pkg} src Go source code organized into packages
pkg OS and architecture specific compilation artifacts bin Executable Go programs Workspace
touch $GOPATH/src/hello.go package main import "fmt" func main() { fmt.Println("Hello
World") } Hello World
https://golang.org/cmd/go/ go run arquivo.go executa seu codigo go build gera
um arquivo executável go test executa a suíte de testes go env mostrará variáveis de ambiente go get descarrega e instala pacotes e dep. Go Tools
API Hello World
None
None
Siege - Http loading testing and benchmarking utility. Siege params
URL -c *n => numero de requests concorrentes -r *n => numero de repetições por request
Siege -c 8 -r 200 http://localhost:3000/hello Siege -c 8 -r
200 http://localhost:8080/hello
None
Siege -c 10 -r 1 http://localhost:3000/hello2 Siege -c 10 -r
1 http://localhost:8080/hello2
None
None
None
API + JSON
None
None
cache
Concorrência
None
None
Time ./app
Projetos
https://awesome-go.com/#software-packages
Avg 200k / min. Testes Resposta Grails ~85seg 9ms GO
~3.5seg ~0.5ms
https://imasters.com.br/linguagens/o-ceu-e-o-limite-na-utilizacao-de-golang
Referências Effective GO https://golang.org/doc/effective_go.html Go tour https://tour.golang.org/welcome/1 Go By example
https://gobyexample.com/
https://invite.slack.golangbridge.org/ https://gophers.slack.com/
None
@renatosuero