Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
golang tokyo go tools
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
mom0tomo
April 19, 2019
Technology
1.4k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
golang tokyo go tools
mom0tomo
April 19, 2019
More Decks by mom0tomo
See All by mom0tomo
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.8k
10年続くコミュニティ運営のコツ
mom0tomo
0
110
「名前のない仕事」にチームで取り組む–WOLとトラッキングツールの活用- / The SRE team's approach to unnamed work
mom0tomo
3
890
クラウド移行を通じた SRE/DevOps の実践 / SRE and DevOps Practice in Cloud Migration
mom0tomo
1
740
最初の言語としてGoを学んだ人から見た Ruby on Rails
mom0tomo
2
720
はじめてみんなで作ったGoのツールの話
mom0tomo
0
200
人材業界 中の人が語る 若手エンジニアの転職活動
mom0tomo
0
580
Go-ビギナーズ - よくある3つの質問
mom0tomo
2
160
Go徒然日記
mom0tomo
0
1.6k
Other Decks in Technology
See All in Technology
AI時代のエンジニアの情報発信〜個人の発信を組織の力に変える〜
ryo_kawamata
1
7.3k
分析作業をどこまで任せるか自分で決められる AIネイティブBI『Golden Analytics』が 良さげな話 /golden-analytics-is-ai-native-bi
shinyaa31
0
110
自律的なチームを作るためにTechPMがやらないこと
ny7760
1
500
re:Invent の去年のスケジュールを公開します!
miu_crescent
PRO
0
280
FinOpsを導入してマルチプロダクトのコスト最適化を実現する
kworkdev
PRO
0
120
AIエージェント時代、Kaggleにどう取り組むか
takanao
2
500
Software Engineering in an AI-Driven World
erikjhordan_rey
0
110
reInvent2026stby LT00 "Change your life!"
shinichirokawano
1
570
"AWSはちょっと苦手"でも大丈夫。AWS Blocks で手軽に作る Flutter のバックエンド #FlutterKaigi
tacck
PRO
0
140
これだけは抑えておきたい!後悔しない re:Invent の過ごし方 / AWS re:Invent 2026 prestudy
kinunori
2
700
今から始めるAWS環境の暗号移行 - ポスト量子時代に備える
sato4mi
0
150
Maestro MCPとClaude Code Skillsによる自律的なE2Eテスト支援
asmz
0
410
Featured
See All Featured
Practical Orchestrator
shlominoach
192
12k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
780
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
460
Designing for Timeless Needs
cassininazir
1
550
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
2
1.2k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
620
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
500
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
740
Transcript
Go Λ͡ΊΔʹ͋ͨͬͯ ͓͍ͬͯͯ΄͍͠πʔϧ 2019/04/19 @golang.tokyo 1 The Go gopher was
designed by Renee French.
Who? • ެһʢࢁܗݝிʣ →WebσβΠφʔ →αʔόʔαΠυΤϯδχΞ w Women Who Go Tokyoελοϑ
!2 ID: mom0tomo
Women Who Go Tokyo Go͖͕ू·ͬͯɺ݄ʹҰςʔϚֶश͍ͯ͠·͢ !3
ΩʔΩϟοϓ൦͠·ͨ͠ ٕज़ॻయ#wwg_tokyo !4
͓ͬͯ͘ͱ ʹཱͭ͜ͱ !5
golang.orgΛࢀর͠Α͏ !6
golang.orgΛࢀর͠Α͏ golang.jp༰͕WҎલͳͷͰҙ͢Δ !7
Gophers.slack.comʹࢀՃ͠Α͏ !8
Gophers.slack.comʹࢀՃ͠Α͏ https://invite.slack.golangbridge.org/ !9
Golang WeeklyΛಡ͏ !10
!11 ͍ͬͯΔͱ ศརͳπʔϧ
Go ίϚϯυ/πʔϧ͕ॆ࣮ͯ͠ ͍Δ • go ίϚϯυ • go tool •
ඪ४ɾ४ඪ४ύοέʔδͰఏڙ͞Ε͍ͯΔ • IDEʹཔΒͳͯ͘շదʹ։ൃͰ͖Δ
ڥมΛදࣔ͢Δ $ go env 13
$ go env GOARCH="amd64" GOBIN="" GOCACHE="/home/alex/.cache/go-build" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux"
GOOS="linux" GOPATH="/home/alex/go" GOPROXY="" GORACE="" GOROOT="/usr/local/go" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GCCGO="gccgo" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go- build245740092=/tmp/go-build -gno-record-gcc-switches" 14
$ go env GOPATH GOROOT /Users/mom0tomo/dev/go /usr/local/go // ಛఆͷڥมΛൈ͖ग़ͯ͠දࣔ͢Δ 15
ίʔυΛformat͢Δ $ gofmt $ go fmt 16
$ gofmt . $ gofmt foo.go // Options // -d
: diffΛඪ४ग़ྗ͢Δ // -l : ϑΝΠϧ໊Λඪ४ग़ྗ͢Δ // -w : ্ॻ͖อଘ͢Δ // -s : ه๏Λγϯϓϧʹ͢Δ // Ұཡ https://godoc.org/github.com/gophersjp/go/src/cmd/gofmt 17
$ go fmt . $ go fmt foo.go // $
gofmt -l -w ͱಉͨ͡Β͖ // formatͨ͠༰Ͱ্ॻ͖ͯ͠ϑΝΠϧ໊Λඪ४ग़ྗ͢Δ 18
ίʔυΛ੩తղੳͯ͠ ଥੑΛνΣοΫ͢Δ $ go vet 19
$ go vet . $ go vet foo.go // ίʔυΛ੩తղੳͯ͠ه๏ΛνΣοΫ͢Δ
// ίϯύΠϥʹݕͰ͖ͳ͍ͷΛݟ͚ͭͯ͘ΕΔ 20
Ϧϯλʔʹ͔͚Δ $ golint 21
$ golint . $ golint foo.go // ίʔυ͕Effective GoͱCodeReviewCommentsʹ Ԋ͏͔νΣοΫ͢Δ
22
Thank you! @mom0tomo 23