修正一些小错误和语言不通顺的地方 (#274)

* Update 07.3.md

* Update 07.3.md

* Update 07.6.md

* fix few problems
This commit is contained in:
王耀
2016-08-25 11:45:39 +08:00
committed by 无闻
parent d40ca54c10
commit 6e9d78dac9
5 changed files with 15 additions and 15 deletions

View File

@@ -66,12 +66,12 @@ func TestUC(t *testing.T) {
}
```
通过指令编译并安装包到本地:`go install src/uc`, 这会将 uc.a 复制到 pkg/linux_amd64 下面。
通过指令编译并安装包到本地:`go install uc`, 这会将 uc.a 复制到 pkg/linux_amd64 下面。
另外,使用 make,通过以下内容创建一个包的 Makefile(1) 在 src/uc 目录下:
另外,使用 make 通过以下内容创建一个包的 Makefile(1) 在 src/uc 目录下:
```
include $GOROOT/src/Make.inc
include $(GOROOT)/src/Make.inc
TARG=uc
GOFILES=\
@@ -114,12 +114,12 @@ func main() {
另外复制 uc.a 到 uc 目录并创建一个 Makefile(2) 并写入文本:
```
include $GOROOT/src/Make.inc
include $(GOROOT)/src/Make.inc
TARG=ucmain
GOFILES=\
ucmain.go\
include $GOROOT/src/Make.cmd
include $(GOROOT)/src/Make.cmd
```
执行 gomake 编译 `ucmain.go` 成可执行文件ucmain