Comment Comment by leaveyou sorry for the slight off topic but I still don't understand what is the advantage of having the domain hard coded in the name of the modulego mod init example.com/helloand also hardcoded in all the import statementsimport "example.com/hello"what if you move the code to other domain ? you need to change the module and all the references to it instead of only the referencesI find it quite cumbersome/counter intuitive even after all these years. parent leaveyou 2 years ago
go mod init example.com/hello
and also hardcoded in all the import statements
import "example.com/hello"
what if you move the code to other domain ? you need to change the module and all the references to it instead of only the references
I find it quite cumbersome/counter intuitive even after all these years.