A few quick comments: 1. Try 'go build ./...' from the root directory of the module to build all the packages in the module. 'go build' without any arguments is the same as 'go build .' which means just build the current directory/package.
2. With only one go.mod, you should not need a 'replace' to find local code in your own module. 3. Make sure you use the full import path in any import statements in your code when importing other packages, even when importing other packages in the same module. The import path should always start with the module path. (The module path what you see on the 'module' line of your go.mod). If that doesn’t help, you might need to share the exact error messages, along with the exact go.mod and exact import statements in question. (I am on mobile, so sorry this is brief). Regards, thepudds -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/2990d337-6f1e-46ea-9874-84b8e3089590%40googlegroups.com.