1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages/common/go-run.md
2021-10-03 21:10:22 +02:00

9 lines
211 B
Markdown

# 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}}`