Jump to content

How to set $GOPATH in Alfred?


nikivi

Recommended Posts

I want to use a library to make a workflow but every time I get an error : 

 

[2016-11-17 11:04:51][ERROR: input.scriptfilter] Code 1: read.go:4:2: cannot find package "gogs.deanishe.net/deanishe/awgo" in any of:
    /usr/local/Cellar/go/1.7.3/libexec/src/gogs.deanishe.net/deanishe/awgo (from $GOROOT)
    ($GOPATH not set)

 

I couldn't find anywhere how I can export my $GOPATH in Alfred. I have it set properly in my zshrc and it works well everywhere else. 

 

I also believe I downloaded the library properly with go run as that produced no error logs.

 

Thank you for any help.

Edited by nikivi
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...