-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README development improvements #236
README development improvements #236
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing! Had a small question
README.md
Outdated
export GOPATH=$HOME/../go_projects # edit with your go_projects dir | ||
export GOROOT=/usr/local/opt/go/libexec | ||
export PATH=$PATH:$GOPATH/bin | ||
export PATH=$PATH:$GOROOT/bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these still necessary with Go 1.13+?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I literally just started with Go so you'll know more than me! I can try on a fresh environment without
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Answer is it depends how you install. If you install Go with the package installer from here then the required directories are added to PATH. If you install with brew, you need to do it yourself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, GOROOT no longer required. I've tidied it up and also added a missing step for goimport
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
A step-by-step guide. Hopefully this will improve the frequency of contributions