Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
SaulOfTheJungle
on Dec 11, 2018
|
parent
|
context
|
favorite
| on:
Just tell me how to use Go Modules
I am new to Go and I want to start a new project.
In which cases should I adopt modules versus just sticking with $GOPATH?
SamWhited
on Dec 14, 2018
[–]
Everything is moving to Go modules; unless you need compatibility with legacy tools I'd start updating and go ahead and use modules whenever possible. It will make your life easier in the future when you have to transition fewer things.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
In which cases should I adopt modules versus just sticking with $GOPATH?