Accessing local packages within a go module (go 1.11)

Let me define this first modules are collections of packages. In Go 11, I use go modules like the following: If both packages are in the same project, you could just do the following: In go.mod: module github.com/userName/moduleName and inside your main.go import “github.com/userName/moduleName/platform” However, if they are separate modules, i.e different physical paths and … Read more