# go run > 编译并运行 Go 代码而不保存二进制文件。 > 更多信息:。 - 运行一个 Go 文件: `go run {{path/to/file.go}}` - 运行一个主 Go 包: `go run {{path/to/package}}`