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
嫁に怒られずにGoを書く技術
Search
teitei_tk
March 01, 2017
Programming
0
2.5k
嫁に怒られずにGoを書く技術
teitei_tk
March 01, 2017
Tweet
Share
More Decks by teitei_tk
See All by teitei_tk
Claude Code × WebLLM:AI駆動開発で作る次世代PDF要約ツール
teitei
0
35
dive to Ruby on Rails module autoloading
teitei
1
4.4k
貴方はOmniAuth::AuthHashを知っていますか?
teitei
0
7.9k
myhome-progress
teitei
0
77
recommend parallel career
teitei
0
1.1k
impression of google chrome headless
teitei
0
1.8k
AWS parking lot shutter hack project
teitei
2
3.8k
Other Decks in Programming
See All in Programming
A full stack side project webapp all in Kotlin (KotlinConf 2025)
dankim
0
120
Android 16KBページサイズ対応をはじめからていねいに
mine2424
0
140
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
0
240
『自分のデータだけ見せたい!』を叶える──Laravel × Casbin で複雑権限をスッキリ解きほぐす 25 分
akitotsukahara
2
640
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
2
860
VS Code Update for GitHub Copilot
74th
2
660
設計やレビューに悩んでいるPHPerに贈る、クリーンなオブジェクト設計の指針たち
panda_program
6
2.2k
ISUCON研修おかわり会 講義スライド
arfes0e2b3c
1
450
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
180
テストから始めるAgentic Coding 〜Claude Codeと共に行うTDD〜 / Agentic Coding starts with testing
rkaga
13
4.9k
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
410
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
270
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
700
How to train your dragon (web standard)
notwaldorf
96
6.1k
How GitHub (no longer) Works
holman
314
140k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
What's in a price? How to price your products and services
michaelherold
246
12k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Docker and Python
trallard
44
3.5k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Transcript
ՇʹౖΒΕͣʹ GoΛॻٕ͘ज़ @teitei_tk
ࣗݾհ • @teitei_tk • freee k.k • Go/PHP/Ruby/Python • Goझຯ
ࠓΔ͜ͱ
GoͰνϟοτBOT on LINE
࣮Ұ࡞ͬͨ
LINEBOT SDK GOΛͬͯ ݄༵ͷͨΘΘBOTΛ࡞ͬͨɻ http://qiita.com/teitei_tk/items/c313a02e78e3045fdf5f
͏গ͠ ࣮༻తͳΛ࡞Δ
ͷલʹͳͥLINE Bot͔ • ݱࡏຊͰҰ൪Α͘ΘΕ͍ͯΔͰ͋Ζ͏νϟοτ αʔϏε • Շۦಈ։ൃՈۦಈ։ൃͳͲͷݴ͍༁ʹ͑Δ • ※͜Ε͚͕ͩݴ͍͍͕ͨҝʹൃද͍ͯ͠ΔΑ͏ͳͷ
ࠓͷ ఱؾΛ௨͢Δ
༻ҙ͢Δ • Go͕Πϯετʔϧ͞Ε͍ͯͯΠϯλʔωοτʹ ܨ͕Δαʔό1 • υϝΠϯ1ͭ • SSL/TLS ূ໌ॻ(Let’s encryptՄ)
αʔόߏஙɺ SSLͷઃఆলུ
ఱؾใͷऔಘ
API͕͋Δ • http://weather.livedoor.com/weather_hacks/ webservice • LINE͞Μʹײँ
ެࣜExampleʹ ΦϜฦ͕͋͠Δ https://github.com/line/line-bot-sdk-go/blob/master/ examples/echo_bot/server.go
͜ΕʹखΛՃ͑Δ
None
None
None
ޙBotΛՈͱͷLINE άϧʔϓʹೖΕΔ͚ͩ
࣮ࡍʹ खΛ͚Α͏ͱ͍ͯ͠Δͷ • ອըͷ৽ץग़ͨࡍͷ௨ • GoogleCalendarʹ͋Δ༧ఆͷ௨ • TODOϦετͷ௨
·ͱΊ • SlackHipchatͷBOTͰग़དྷΔ͜ͱҰ௨Γ ग़དྷΔ • Շۦಈ։ൃྨۦಈ։ൃͳͲʹ͓͢͢ΊͰ͢