Command
go run main.goExplanation
Compile and run Go programs without creating an executable file.
Examples
Run main.go file
go run main.goRun current directory
go run .Run all Go files
go run *.gogo run main.goCompile and run Go programs without creating an executable file.
Run main.go file
go run main.goRun current directory
go run .Run all Go files
go run *.go