Don't know why the error is coming up, but still, if you are a beginner...
Instructions for installing Go are here:
Assuming you did everything correctly, follow this guide next, which explains where you should put Go code,
how to test and run it, etc:
You probably want to test, build or run your hello world program, instead of installing it.
Let us know how it goes.