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
1週間で終わらせるはじめてのGo言語学習/beginner-study-go
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
nishina
November 07, 2021
Programming
200
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
140
テキスト校正ツールtextlintの 紹介と導入方法/textlint-overview
nishina555
0
140
認証・認可の仕組みを理解する上で知っておきたい基礎知識/auth-overview
nishina555
1
300
REST APIとの比較でざっくり理解するGraphQL/graphql-introduction
nishina555
0
220
ウィンドウ操作に便利な ショートカットとアプリ紹介/mac-window-shortcut
nishina555
0
200
IPアドレス(IPv4)の仕組み/overview-of-ipaddress
nishina555
0
190
図で理解する自然言語処理/nlp_tutorial
nishina555
0
320
ToDoアプリで学ぶReact/Redux入門/vtecx2_lt2
nishina555
2
3k
DiveIntoOSSThroughHacktoberfest_SPMKT
nishina555
1
360
Other Decks in Programming
See All in Programming
Intent as Code
shoppingjaws
6
1.1k
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
110
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
130
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
4
400
速習iPhone Duo対応
yuukiw00w
2
910
AWSに止められる覚悟してますか?
morizo_1984
2
490
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
400
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
330
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
360
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
410
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
4
390
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
450
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
KATA
mclloyd
PRO
35
16k
Design in an AI World
tapps
1
340
Discover your Explorer Soul
emna__ayadi
2
1.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Navigating Weather and Climate Data
rabernat
0
540
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Why Our Code Smells
bkeepers
PRO
340
58k
Accessibility Awareness
sabderemane
1
220
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Mind Mapping
helmedeiros
1
380
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ݴޠΛͬͯΈͨײ