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
Building Desktop Utilities in Go
Search
csaunders
October 23, 2014
Programming
0
55
Building Desktop Utilities in Go
Talk I did about building programs in go and some useful libraries that make building them easier.
csaunders
October 23, 2014
Tweet
Share
More Decks by csaunders
See All by csaunders
Teaching Garbage Collection
csaunders
0
54
Building Games for Fun, Feedback and F... learning
csaunders
1
180
Dev to Deploy
csaunders
0
140
Unit Testing Outside of Models
csaunders
2
130
Unit Testing and Git
csaunders
1
160
iOS Storyboards
csaunders
0
200
Design Patterns in Ruby
csaunders
9
320
Other Decks in Programming
See All in Programming
イベント駆動で成長して委員会
happymana
1
260
WebフロントエンドにおけるGraphQL(あるいはバックエンドのAPI)との向き合い方 / #241106_plk_frontend
izumin5210
4
1.2k
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
410
EventSourcingの理想と現実
wenas
6
2.2k
OpenTelemetryでRailsのパフォーマンス分析を始めてみよう(KoR2024)
ymtdzzz
5
2k
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
160
Outline View in SwiftUI
1024jp
1
280
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.1k
GCCのプラグインを作る / I Made a GCC Plugin
shouth
1
160
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
770
Macとオーディオ再生 2024/11/02
yusukeito
0
320
C++でシェーダを書く
fadis
6
3.9k
Featured
See All Featured
How STYLIGHT went responsive
nonsquared
95
5.2k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Faster Mobile Websites
deanohume
305
30k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
A Philosophy of Restraint
colly
203
16k
Facilitating Awesome Meetings
lara
49
6.1k
The Invisible Side of Design
smashingmag
297
50k
Designing for Performance
lara
604
68k
Six Lessons from altMBA
skipperchong
26
3.5k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Transcript
Building Desktop Utilities in Go
Libraries
Flag import “flag”
fsnotify import "gopkg.in/fsnotify.v1"
Recursive fsnotify
Recursive fsnotify
Curses import "github.com/nsf/termbox-go"
None
None
Building your own Libraries & Binaries
None
None
Why?
None
programs
–Some old dude “Do one thing and do it well.”
None
Phoenix theme synchronization for everybody
•shopify_theme (ruby) - janky •gothemego (go) - ¯\(°_o)/¯ •themebox (ruby
& rails) - slow
–me on debugging every shopify_theme Windows issue ever “I’ll try
to replicate this when I get home”
Why Go over X?
Halp!
Questions?
• Libraries • http://github.com/csaunders/phoenix • https://github.com/howeyc/fsnotify • https://github.com/nsf/termbox-go • http://golang.org/pkg/flag/
• Articles • https://inconshreveable.com/09-09-2014/sweat-the- small-stuff/ • http://arslan.io/ten-useful-techniques-in-go • https://medium.com/@benbjohnson/structuring- applications-in-go-3b04be4ff091