1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 13:15:25 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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