Help with Go Path -OSX Mojave

I’m having trouble with my Go path. Looking for some assistance.
I’m following the instructions to test my installation.

The Hello file is here:

My ~zshrc file reads:
export PATH=$PATH:/usr/local/go/src

My error message is:
zsh: no such file or directory: /Users/stevenblinn/usr/local/go/src/hello

Any advice on what I need to fix?


1 Like

When you get that error message what was the command you entered before that?

1 Like

export PATH=$PATH:/usr/local/go/bin

1 Like

That export command can not cause the error you mentioned earlier, please tell us which command causes the error.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.