All of my old projects use the gopath. I converted one of my projects to modules and the go.mod and go.sum work fine.
I then tried to convert another old project and realized that there are no external dependencies. Actually most of my projects only use the standard library. When running the
go mod init command I realized that my go.mod is pretty empty; there are no external dependencies. Also running
go build does not create a go.sum file because there are no dependencies (I’m assuming).
So if there are no external dependencies is it still necessary to make the project a module?