Comment Comment by devjam And if your main.go is in a sub-directory, e.g. cmd/pathto/cli/main.go: $ go run ./cmd/pathto/cli parent devjam 2 years ago