Yeah, I'll add some path checking. In the meantime, it's provides as a configurable option. It should show up under your settings and you can point it to the right place. Or use an alternative like goimports. 

> On Mar 1, 2014, at 17:12, Matt Aimonetti <notifications@github.com> wrote:
> 
> In lib/main.coffee:
> 
> > @@ -0,0 +1,13 @@
> > +Gofmt = require './gofmt'
> > +
> > +module.exports =
> > +  configDefaults:
> > +    formatOnSave: false
> > +    gofmtPath: "/usr/bin/gofmt"
> this shouldn't be hardcoded, you might want to shell out to get the path of the binary. Mine isn't there for instance:
> 
> $ which gofmt
> /usr/local/bin/gofmt
> —
> Reply to this email directly or view it on GitHub.