add new chinese translations
This commit is contained in:
12
pages.zh/common/go-run.md
Normal file
12
pages.zh/common/go-run.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# go run
|
||||
|
||||
> 编译并运行 Go 代码而不保存二进制文件。
|
||||
> 更多信息:<https://pkg.go.dev/cmd/go#hdr-Compile_and_run_Go_program>。
|
||||
|
||||
- 运行一个 Go 文件:
|
||||
|
||||
`go run {{path/to/file.go}}`
|
||||
|
||||
- 运行一个主 Go 包:
|
||||
|
||||
`go run {{path/to/package}}`
|
Reference in New Issue
Block a user