diff --git a/pages/common/go-run.md b/pages/common/go-run.md index bdab94bec..50db0ffee 100644 --- a/pages/common/go-run.md +++ b/pages/common/go-run.md @@ -1,9 +1,12 @@ # go run -> Compile and run Go code. -> Does not leave a binary on the disk. -> More information: . +> Compile and run Go code without saving a binary. +> More information: . - Run a Go file: `go run {{path/to/file.go}}` + +- Run a main Go package: + +`go run {{path/to/package}}`