Skip to content
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

Basic Go environment setup #181

Closed
arcticicestudio opened this issue Mar 10, 2019 · 0 comments
Closed

Basic Go environment setup #181

arcticicestudio opened this issue Mar 10, 2019 · 0 comments

Comments

@arcticicestudio
Copy link
Owner

arcticicestudio commented Mar 10, 2019

I started to use Go as my main programming language almost 3 years for everything from CLIs, high performant and lightweight backends/microservices with performance and intercompatibility in mind as well as for daily tools.
Go comes with a fantastic toolchain that also doesn't require a lot of necessary setups, therefore this basic setup is enough to work efficiently in combination with the awesome IntelliJ Go plugin, a minimal setup for [Vim with the govim plugin][gh-govim] and a basic integration for Go in VS Code.

I've used the following basic setup:

  • Defining the GOPATH environment variable to point to the custom location at $HOME/.go. Even though that I only use Go Modules this is required for backwards compatibility, the toolchain as well as the resulting binaries in $GOPATH/bin.
  • Add $GOPATH/bin to $PATH for all hosts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant