News for hackers. Stuff that matters.
Re:Go Run by 1vuio0pswjnm7 on Thursday February 22, 2024 @03:30PM (#39472743)
This is not a tip. It comes straight from

   go help run
"usage: go run [build flags] [-exec xprog] package [arguments...]

Run compiles and runs the named main Go package. Typically the package is specified as a list of .go source files from a single directory, but it may also be an import path, file system path, or pattern matching a single known package, as in 'go run .' or 'go run my/cmd'."

Nothing is said about go run main.go.

There are no comments on this comment yet.