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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
teitei_tk
March 01, 2017
Programming
0
2.6k
嫁に怒られずに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
120
dive to Ruby on Rails module autoloading
teitei
1
4.7k
貴方はOmniAuth::AuthHashを知っていますか?
teitei
0
9.6k
myhome-progress
teitei
0
85
recommend parallel career
teitei
0
1.1k
impression of google chrome headless
teitei
0
1.9k
AWS parking lot shutter hack project
teitei
2
4.1k
Other Decks in Programming
See All in Programming
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
200
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
12
2.6k
Docコメントで始める簡単ガードレール
keisukeikeda
1
100
Python’s True Superpower
hynek
0
200
ふつうのRubyist、ちいさなデバイス、大きな一年 / Ordinary Rubyists, Tiny Devices, Big Year
chobishiba
1
400
モジュラモノリスにおける境界をGoのinternalパッケージで守る
magavel
0
3.5k
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
180
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
490
Rails Girls Tokyo 18th GMO Pepabo Sponsor Talk
yutokyokutyo
0
210
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
970
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
260
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
360
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.2k
Claude Code のすすめ
schroneko
67
220k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
110
AI: The stuff that nobody shows you
jnunemaker
PRO
3
360
The Curious Case for Waylosing
cassininazir
0
260
Documentation Writing (for coders)
carmenintech
77
5.3k
What does AI have to do with Human Rights?
axbom
PRO
1
2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
250
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
4 Signs Your Business is Dying
shpigford
187
22k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
290
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Ͱग़དྷΔ͜ͱҰ௨Γ ग़དྷΔ • Շۦಈ։ൃྨۦಈ։ൃͳͲʹ͓͢͢ΊͰ͢