Hi. I'm a hobby programmer. I've been able to learn and use gopath
mode for a while. I've accumulated 20+ programs that I use that were
build using gopath mode. I'm not using a package manager, as all my
code is in GOPATH, ie, ~/go/src/
I don't understand how to convert this to modules. I've read the blogs
on
golang.org/ref/mod# ... , and still don't understand how to convert
to modules.
I tried a year or so ago, but I then could not compile anything, so I
nuked whatever I did and reverted to GOPATH.
I'm looking for a conversion guide for the complete idiot, or for
dummies if that's preferable.
I'd be satisfied if there was a step by step guide for converting
~/go/src/hello.go to modules. I could probably adapt that.
Right now, all documentation I've seen starts by doing git clone
https://github.com/my-own-code. And then I'm lost.
If this is not the correct forum to post this very basic request for
help, guidance as to where else I should GO would be helpful.
--rob solomon