Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ryukoposting
9 months ago
|
parent
|
context
|
favorite
| on:
Go run
Or, even better, `./main`
dewey
9 months ago
[–]
That's not better but confusing as the "main" binary doesn't exist (The main point of go run), and you'd always have to type the full name as you can't autocomplete it.
ryukoposting
9 months ago
|
parent
[–]
Who said it needs to be a binary? Name the source file "main" and put a shebang at the top.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: