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
1週間で終わらせるはじめてのGo言語学習/beginner-study-go
Search
nishina
November 07, 2021
Programming
190
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
1週間で終わらせるはじめてのGo言語学習/beginner-study-go
nishina
November 07, 2021
More Decks by nishina
See All by nishina
Postmanを利用したAPI開発/postman-tutorial
nishina555
0
130
テキスト校正ツールtextlintの 紹介と導入方法/textlint-overview
nishina555
0
140
認証・認可の仕組みを理解する上で知っておきたい基礎知識/auth-overview
nishina555
1
290
REST APIとの比較でざっくり理解するGraphQL/graphql-introduction
nishina555
0
220
ウィンドウ操作に便利な ショートカットとアプリ紹介/mac-window-shortcut
nishina555
0
200
IPアドレス(IPv4)の仕組み/overview-of-ipaddress
nishina555
0
180
図で理解する自然言語処理/nlp_tutorial
nishina555
0
310
ToDoアプリで学ぶReact/Redux入門/vtecx2_lt2
nishina555
2
3k
DiveIntoOSSThroughHacktoberfest_SPMKT
nishina555
1
350
Other Decks in Programming
See All in Programming
琵琶湖の水は止められてもNet--HTTPのリトライは止められない / You might be able to stop the water flow of Lake Biwa but you can't stop Net::HTTP retries
luccafort
PRO
0
810
「人を評価する AI」の設計と実装
ryoyanara
0
220
VibeCodingからAgenticWorkflowへ
starfish719
0
680
Flow は今どうなっているか
mizdra
PRO
0
650
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
190
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
710
5分で問診!Composer セキュリティ健康診断
codmoninc
0
1.1k
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
230
引き算の組織 ― アウトカムとAIに全振りするために辞めたこと ― / Organization by Subtraction
hirokiyamamoto14
PRO
0
260
SlackアプリとLambdaの 連携を構築した話
pawn_4_s
1
130
React本体のコードリーディング
high_g_engineer
1
150
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
270
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
The Curse of the Amulet
leimatthew05
2
14k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
A Tale of Four Properties
chriscoyier
163
24k
How to Talk to Developers About Accessibility
jct
2
520
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
170
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
490
Agile that works and the tools we love
rasmusluckow
331
22k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Google's AI Overviews - The New Search
badams
0
1.1k
Transcript
ਔՊ ढ़ 1िؒͰऴΘΒͤΔ ͡ΊͯͷGoݴޠֶश
• ʰA Tour of Go[1] ʱͰGoݴޠͷจ๏Λͻͱ௨Γษڧ͢Δ • ʰϓϩάϥϛϯάݴޠ Goશೖ[2] ʱͰGoΛऔΓר͘ڥ
ʹ͍ͭͯཧղ͢Δ • ʰαϯϓϧͰֶͿGoݴޠ[3] ʱͷؾʹͳͬͨαϯϓϧΛΈΔ • CRUD APIΛ࣮ͯ͠ΈΔ 1िؒͷGoݴޠֶशϩʔυϚοϓ [1]: https://go-tour-jp.appspot.com/list [2]: https://docs.google.com/presentation/d/1RVx8oeIMAWxbB7ZP2IcgZXnbZokjCmTUca-AbIpORGk/edit#slide=id.g4f417182ce_0_0 [3]: https://www.spinute.org/go-by-example/
• ϦϙδτϦ • https://github.com/nishina555/echo-gorm-crud-api-example • https://github.com/nishina555/gin-gorn-crud-api-example • ٕज़ελοΫ • ϑϨʔϜϫʔΫ:
Echoͱginͷ2ύλʔϯ • O/RϚού: GORM • ϗοτϦϩʔυ: Air • ڥมཧ: GoDotEnv • Lintπʔϧ: VS CodeͷGoϓϥάΠϯʹ͓ͤ Ռ: CRUD APIͷ࣮
• Goݴޠपลπʔϧ͕ॆ࣮͍ͯ͠Δ • ϑΥʔϚολ(goimports)ɺdocੜ(godoc)ɺίʔυνΣοΧʔ(go vet) • GoݴޠΛशಘ͢Δʹจ๏͚ͩͰͳ͘ɺपลπʔϧͷཧղॏཁ • ࣅͨπʔϧݱࡏඇਪͷใ͕ࠞࡏ͍ͯ͠ΔͷͰॳݟࡴ͠ •
ࠓGo Modules͕σϑΝΫτ͕ͩɺglide, dep, govendorͷهࣄࢄݟ • ϗοτϦϩʔυਓؾͩͬͨRealizeͷ։ൃ͕ࢭ·ΓAirͷ࣌ • Lintπʔϧͷgolintඇਪɺࠓgolangci-lintStaticcheck͕ओྲྀ • GoݴޠΛֶश͢Δࡍɺ৭ʑͳใΛಡΈړΔͷ͕Αͦ͞͏ • ϑϨʔϜϫʔΫʹબࢶ͕͋ΔͨΊɺٕज़બఆͷྗ͕ඞཁ • ϑϨʔϜϫʔΫͳΒBeego, gin, EchoɺORMͳΒGORM, gorp, Xorm • GoݴޠͰ࣮͢ΔࡍɺతΛ໌֬ʹ͢Δඞཁ͕͋Δ GoݴޠΛͬͯΈͨײ