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
Alfred Workflows by Go
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
enta0701
December 11, 2017
Technology
5.5k
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Alfred Workflows by Go
enta0701
December 11, 2017
More Decks by enta0701
See All by enta0701
ミルクココアが好きです
endotakuya
0
78
Kubernetes 超入門
endotakuya
0
170
GKE と EKS について 理解した気分になる7分間
endotakuya
0
87
はじめての CircleCI × EKS
endotakuya
1
710
Go / Node.js で入門する gRPC
endotakuya
0
220
LINE Clova スキルの開発ハンズオンに enebular は最適だった話。
endotakuya
1
1.1k
LINE Clova と自由に会話をしよう
endotakuya
0
200
GoでClova Extension開発ができるようになりました
endotakuya
0
87
シンプルなテンプレートエンジンが欲しい
endotakuya
0
850
Other Decks in Technology
See All in Technology
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
140
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
470
Refining Active Record
shugo
0
150
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
920
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
1
150
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
150
今さら理解するウェブフォントver.2026
takanorip
3
770
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
200
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
re:Invent初参加で変わったこと、2回目にやってみたいこと(JAWS-UG彩の国埼玉 #12)
mhrtech
2
220
Featured
See All Featured
Building an army of robots
kneath
307
47k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Prompt Engineering for Job Search
mfonobong
0
520
Side Projects
sachag
456
43k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
The SEO Collaboration Effect
kristinabergwall1
1
590
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
Google's AI Overviews - The New Search
badams
0
1.6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
67k
Transcript
"MGSFE8PSLqPXT CZ(P 2017/12/11 golang.tokyo #11 @enta0701
ࣗݾհ ❐ɹ!FOUB ❐ɹגࣜձࣾϕʔγοΫ ❐ɹ3VCZ%PDLFSLT ɹ(P"OESPJE+BWB4DSJQU ❐ɹ(Pྺɿ͗͢ @enta0701 @endotakuya @enta0701
"MGSFE ɹͬͯ·͔͢ʁ
"MGSFE ❐ΠϯΫϦϝϯλϧαʔνͰύύοͱݕࡧ ❐ग़དྷΔݶΓΩʔϘʔυͷૢ࡞Ͱ͍݁ͨ͠ਓ͚ ❐εϦʔϓͱ͔ຯʹָ
"MGSFE8PSLqPXT ❐"MGSFEΛΑΓޮՌతʹ͑Δ֦ுػೳ ❐Ϣʔϩʢ ԁʣΛ͏͜ͱͰ͑Δ ❐Α͘͏ͷɺHJUIVC'POU"XFTPNF2JJUB
8PSLqPX ࣗ࡞Ͱ͖·͢
8PSLqPXΛࣗ࡞͢Δ ❐"MGSFE1SFGFSFODFT8PSLqPXT ɹ(FU4UBSUFE4DSJQU'JMUFS
8PSLqPXΛࣗ࡞͢Δ ❐4DSJQU'JMUFSΛબ ❐ͲͷݴޠΛબΜͰɺ࠷ऴతʹඞཁͳͷ+40/ ❐CJOCBTIͰɺ(Pͷ࣮ߦϑΝΠϧΛͤ0,
ͪͳΈʹ4QPSUJGZʁ ೖྗ͢Δ,FZXPSE͝ͱʹ4DSJQUΛΈ߹ΘͤΔ
ຊ
"MGSFE8PSLqPXT CZ(P
͢Ͱʹଘࡏ͢Δ"MGSFEͷύοέʔδ ϑΥʔϚοτ 4UBS ϝϯςφϯε SVFEBQHPBMGSFE 9.- QBTDBMXHPBMGSFE 9.-
EFBOJTIFBXHP +40/ ˞"MGSFE͔Β+40/͕ਪ
BXHP ❐HPCVJMEͨ͠ͷΛɺຖճ8PSLqPXʹஔ͢Δ ɹඞཁͯ͠ݕূ͢Δඞཁ͕͋Δ ❐HPSVOͰؾܰʹݕূ͍ͨ͠ ❐DBDIFͱ͔͍ΖΜͳػೳ͋Δ͚Ͳͦ͜·ͰٻΊͯͳ͍ ❐ڥมΛ࣮ߦϑΝΠϧʹؚΊ͍ͨ ɹ˞8PSLqPXΛ͢Δͱ͖ʹFOWΛެ։ͨ͘͠ͳ͍
ͬͱγϯϓϧͰ ͍͍͕ͭ͢ཉ͍͠
8PSLqPXʹ͢ɺ࠷খݶͷ+40/ {"items": [ { "title": "Desktop", "arg": "~/Desktop", } ]}
BMGSFEHP $ go get github.com/endotakuya/alfred-go/... func main() { a :=
alfred.New() item := alfred.NewItem() item.Title = "Desktop" item.Arg = "~/Desktop" a.Append(item) a.Print() }
FOWͷσʔλΛຒΊࠐΉ HOGE="text" FUGA="http://example.com/" PIYO=50000 $ alfred-go $ ls env ./
../ env.go FOW FOWFOWHPΛੜ
FOWͷσʔλΛຒΊࠐΉ func main() { fmt.Println( env.List() ) fmt.Println( env.Get(“HOGE") )
} map[HOGE:text FUGA:http://example.com/ PIYO:50000] text औΓग़͢ͱ͖ɺ
FOWHPͷੜ w := bufio.NewWriter(f) => f: *os.File defer w.Flush() fmt.Fprintf(
w, `package main import ( "fmt" ) func main() { fmt.Println(“%s") }`, “Hello, world”) HPCJOEBUBΛࢀߟʢࡶʹॻ͘ͱ͜Μͳײ͡ʣ
·ͱΊ ❐HPͷϑΝΠϧͷੜํ๏ؾ࣋ͪѱ͍ɺɺɺ ❐8PSLqPXTΛ࡞Δͱ͖ɺ ɹػೳ͝ͱʢαδΣετ͍ͨ͠LFZXPSE͝ͱʁʣʹ ɹ࣮ߦϑΝΠϧΛੜ͍ͯ͠ΔΓํ͕ଟ͍ ɹ㱺͜Ε͙Β͍γϯϓϧͳύοέʔδͷ΄͏͕ѻ͍ͦ͢͏ ❐ͨͬͨͷ ԁͰ͜ΜͳʹշదʹͳΔͳΜͯʂ ❐"MGSFE8PSLqPXTΛ(Pࣗ࡞ָͯ͠Λ͠·ͤΜ͔
͋Γ͕ͱ͏͍͟͝·ͨ͠