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
Search
katryo
November 03, 2014
Technology
1.8k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
業務で使えるGolang
ヒカルのgo #3
http://connpass.com/event/9175/
で話した内容です
https://github.com/katryo/go_fanfare
katryo
November 03, 2014
Transcript
20 slides
ۀͰ͑ΔGolang katryo
࣍ 1. GolangڭͷͨΊͷIDEಋೖ 2. ۀͰ͑ΔCLIΞϓϦΛGolangͰ࡞ͬͨ
1.GolangڭͷͨΊͷ IDEಋೖ
GolangΛࣾͰΊΔʹ?
։ൃڥͷ࡞ΓํΛ ڭ͓͑͋͏
Golang։ൃڥ • GoΛΠϯετʔϧ • GopathΛઃఆ • ͨΊ͠ʹgo runͰHello worldͯ͠ΈΔ
IDE • ੩తܕ͚ݴޠͰ͋Δ͜ͱͷརΛੜ͔͢ • ΠϯετʔϧͷޙɺGOPATHΛઃఆ • ϝχϡʔόʔͷදࣔ(View)͔Β”Manage GOPATH…”Λબ
GOPATHઃఆ • Manage GOPATHͰɺࣗͷઃఆͨ͠GOPATH Λॻ͘
ΧϥʔεΩʔϚ • ݸਓతʹSublime text෩ͷΧϥʔεΩʔϚ͕͖
2.ۀͰ͑ΔCLIΞϓϦΛ GolangͰ࡞ͬͨ
Golangͷ్͍ • CLI • γΣϧεΫϦϓτͷ͔ΘΓ • ……ͦΕ͚ͩʁ
ͳΜͱ͔ͯ͠GoΛ ۀͰ͍͍ͨ
ࢥ͍͍ͭͨ
ςετ࣮ߦͷͪ࣌ؒ • ςετΛ࣮ߦ͢Δͱɺेඵʙͷͪ࣌ ͕ؒൃੜ͢Δ • ୀ۶ • GoͷྗͰͪ࣌ؒΛָ͘͢͠Δ • ԻָΛྲָྀͤ͘͠ͳΔͷͰͳ͍͔ʁ
γΣϧεΫϦϓτΛ ࢧԉ͢ΔϓϩμΫτΛ GoͰ࡞Ζ͏
ఆ͢ΔγνϡΤʔγϣϯ • ./heavy_task ɺॏ͍ॲཧΛ࣮ߦ͢ΔγΣϧ εΫϦϓτ • ςετɺը૾ॲཧɺetc • ./heavy_taskΛ࣮ߦ͢Δؒʹۓഭͨ͠ԻָΛ ྲྀ͠ɺྃͨ͠ΒϑΝϯϑΝʔϨΛྲྀ͍ͨ͠
ͬͨϥΠϒϥϦ • portaudio-go • portaudioͷgoόΠϯσΟϯά • Իָ࠶ੜͷίʔυαϯϓϧΛ΄΅ͦͷ·· ͬͨ • αϯϓϧͷίʔυaiffΛ࠶ੜ͢Δͷͩͬͨͷ
ͰɺaiffͷԻָϑΝΠϧΛ͏͜ͱʹͨ͠
ͳͥԻָͱGoͳͷ͔ • Goฒߦॲཧ͕ಘҙ • ChannelΛ͑ɺൺֱత؆୯ʹฒߦॲཧ͕ ॻ͚Δ • ʮԿ͔ͷλεΫΛ࣮ߦ͠ͳ͕Βɺಉ࣌ʹԻָ Λ࠶ੜ͠ɺλεΫ͕ऴྃͨ͠ΒɺԻָΛΓ ସ͑Δʯͷɺͪΐͬͱ໘ͳฒߦॲཧ
νϟϯωϧ • ผͷGoroutineؒͰϝοηʔδΛΓͱΓͰ͖Δ • λεΫ։࢝ɾλεΫྃͳͲΛɺνϟϯωϧΛͬͯ௨ͨ͠
WEB+DB vol.82 • Golangͷॳ৺ऀ͚ྑ هࣄ • jxck͞Μ͕ࣥච • Goroutineʹ͍ͭͯॻ ͍ͯ͋Δ
More Decks by katryo
See All by katryo
How to create an automated test suite for the Chromium based app and the Unity app
katryo
0
6.9k
Denkinovelをどうして作り続けているのか
katryo
0
2.5k
Sprockets絶ちに挑戦した
katryo
4
1.9k
Rails3で作り始めたアプリケーションをちょっとずつ改善してゆく道のり
katryo
3
2k
Railsアプリの運営とQOL爆アゲアイテム
katryo
0
420
Golang完全初心者がチュートリアルを完了させればなにができるようになるか
katryo
2
4.1k
Other Decks in Technology
See All in Technology
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
1k
Terraform 0 to 100:100個以上のリポジトリを常に最新にし続けるための自動化
sue445
3
1.4k
クラウドでも使えるNetApp -現場目線での設計とクラウドバックアップの活用
ryutakondo
1
340
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
450
こんなに変わった! AWSネットワークの常識
shotashiratori
16
12k
「個社」ではなく「業界」の課題を解く AI 対話開発 ー 価値を広げる設計と、価値を守るエンジニアリング ー
ivry_presentationmaterials
4
900
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
120
SBOM 生成ツールで 2026 Minimum Elements はどこまで満たせるのか
gokken
0
160
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
670
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
140
kubellの最新データ分析環境
kubell_hr
2
280
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
150
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
990
The Mindset for Success: Future Career Progression
greggifford
PRO
0
570
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.7k
Deep Space Network (abreviated)
tonyrice
0
430
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
630
Balancing Empowerment & Direction
lara
6
1.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
580
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k