Hacker News new | ask | show | jobs
by devjam 852 days ago
And if your main.go is in a sub-directory, e.g. cmd/pathto/cli/main.go:

    $ go run ./cmd/pathto/cli