Hacker News new | ask | show | jobs
by nomofomo2 2150 days ago
Agreed! I pick up Go a few times a year (which doesn't help, admittedly) and even consulting the official documentation, it's hard for me to figure out what the current, correct way of doing things is.
1 comments

If you want to learn this my suggestion:

Dedicate 30m to read https://blog.golang.org/using-go-modules and try it out with a small demo project,e.g. write a small tool that emits a uuid; keep the toy project very small so you don't encounter other problems that might distract you from learning the basics of dependency management.

Search for dependencies using pkg.go.dev.