Slide 1

Slide 1 text

Building Desktop Utilities in Go

Slide 2

Slide 2 text

Libraries

Slide 3

Slide 3 text

Flag import “flag”

Slide 4

Slide 4 text

fsnotify import "gopkg.in/fsnotify.v1"

Slide 5

Slide 5 text

Recursive fsnotify

Slide 6

Slide 6 text

Recursive fsnotify

Slide 7

Slide 7 text

Curses import "github.com/nsf/termbox-go"

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

Building your own Libraries & Binaries

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

Why?

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

programs

Slide 16

Slide 16 text

–Some old dude “Do one thing and do it well.”

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

Phoenix theme synchronization for everybody

Slide 19

Slide 19 text

•shopify_theme (ruby) - janky •gothemego (go) - ¯\(°_o)/¯ •themebox (ruby & rails) - slow

Slide 20

Slide 20 text

–me on debugging every shopify_theme Windows issue ever “I’ll try to replicate this when I get home”

Slide 21

Slide 21 text

Why Go over X?

Slide 22

Slide 22 text

Halp!

Slide 23

Slide 23 text

Questions?

Slide 24

Slide 24 text

• 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