Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
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
93
dive to Ruby on Rails module autoloading
teitei
1
4.6k
貴方はOmniAuth::AuthHashを知っていますか?
teitei
0
8.3k
myhome-progress
teitei
0
83
recommend parallel career
teitei
0
1.1k
impression of google chrome headless
teitei
0
1.8k
AWS parking lot shutter hack project
teitei
2
4k
Other Decks in Programming
See All in Programming
Socio-Technical Evolution: Growing an Architecture and Its Organization for Fast Flow
cer
PRO
0
390
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
940
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
240
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
460
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
160
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
520
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
3
1.3k
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
180
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
2
460
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
390
Canon EOS R50 V と R5 Mark II 購入でみえてきた最近のデジイチ VR180 事情、そして VR180 静止画に活路を見出すまで
karad
0
130
Vibe codingでおすすめの言語と開発手法
uyuki234
0
100
Featured
See All Featured
Paper Plane
katiecoart
PRO
0
44k
Heart Work Chapter 1 - Part 1
lfama
PRO
3
35k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
510
Technical Leadership for Architectural Decision Making
baasie
0
180
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Building Adaptive Systems
keathley
44
2.9k
Discover your Explorer Soul
emna__ayadi
2
1k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Chasing Engaging Ingredients in Design
codingconduct
0
78
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.5k
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Ͱग़དྷΔ͜ͱҰ௨Γ ग़དྷΔ • Շۦಈ։ൃྨۦಈ։ൃͳͲʹ͓͢͢ΊͰ͢