Skip to content

Commit

Permalink
代码格式问题
Browse files Browse the repository at this point in the history
  • Loading branch information
tedjmzhang committed Sep 24, 2024
1 parent bb97c4c commit 62dcd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/go/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

7. 执行`go build`会在当前目录生成hello的二进制文件,可通过命令行`./hello`运行代码

8. 执行`go install`会将hello文件生成到由`go list -f '{{.Target}}'`返回的目录之中,通过将该目录暴露到PATH,可以在全局直接`hello`执行该二进制程序
8. 执行`go install`会将hello文件生成到由`go list -f '\{\{.Target\}\}'`返回的目录之中,通过将该目录暴露到PATH,可以在全局直接`hello`执行该二进制程序

- 一些语法知识
1. message := fmt.Sprintf("Hi, %v. Welcome!", name)
Expand Down

0 comments on commit 62dcd7c

Please sign in to comment.