I am writing a project which has multiple files in the main package, after run go run *.go, I get this assert:

go run: cannot run *_test.go files


  WTF?! So I search Google and get this suggestion:

go build && ./<executable>

  I don’t think this one is a good solution, so I find another one:

go run !(*_test).go	

  Wow, this one is perfect!