- Security with Go
- John Daniel Leon
- 60字
- 2021-06-30 19:06:43
Running a single Go file
You don't have to build a file and get an executable if you only want to run it. The go run option allows you to run the .go file without leaving an executable behind. You can still pass in arguments as if it was a regular executable, like this:
go run example.go arg1 arg2