Hacker News new | past | comments | ask | show | jobs | submit login

And if your main.go is in a sub-directory, e.g. cmd/pathto/cli/main.go:

    $ go run ./cmd/pathto/cli



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: