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
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
77
Kubernetes 超入門
endotakuya
0
170
GKE と EKS について 理解した気分になる7分間
endotakuya
0
86
はじめての 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
86
シンプルなテンプレートエンジンが欲しい
endotakuya
0
840
Other Decks in Technology
See All in Technology
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
710
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
110
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
110
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
280
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
0
130
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
380
メルペイ 会計システム概要と歴史
mewuto
1
220
継続的なAIコスト最適化
bgpat
1
300
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
110
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
130
Refining Active Record
shugo
0
110
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
130
Featured
See All Featured
Utilizing Notion as your number one productivity tool
mfonobong
4
620
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
Making the Leap to Tech Lead
cromwellryan
135
10k
Abbi's Birthday
coloredviolet
4
10k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Rails Girls Zürich Keynote
gr2m
96
14k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
For a Future-Friendly Web
brad_frost
184
10k
How GitHub (no longer) Works
holman
316
150k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
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ࣗ࡞ָͯ͠Λ͠·ͤΜ͔
͋Γ͕ͱ͏͍͟͝·ͨ͠