I am using LinuxMint 20.3 and go1.18.4. I just started with my Go journey and I am trying to understand what exactly modules
are. I decided to take a look at some modules which come with the Go installation in the GOPATH
folder. I realized that two folders were created in my home directory automatically, go
and golib
. Both the folders contain bin
and pkg
and look something like this.
As you can see, the mod
folder is different for go
and golib
. I am curious as to why there are two folders in the first place, and what exactly they are. Thanks in advance.