Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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: