go-run: add page (#6650)

This commit is contained in:
CleanMachine1
2021-10-03 20:10:22 +01:00
committed by GitHub
parent ea63269e85
commit 7116e0ea3e

9
pages/common/go-run.md Normal file
View File

@@ -0,0 +1,9 @@
# go run
> Compile and run Go code.
> Does not leave a binary on the disk.
> More information: <https://pkg.go.dev/cmd/go#hdr-Compile_packages_and_dependencies>.
- Run a Go file:
`go run {{path/to/file.go}}`