mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:06:41 +08:00
9.8 目录树层级对齐小调整 (#590)
This commit is contained in:
@@ -19,10 +19,10 @@
|
|||||||
uc.a
|
uc.a
|
||||||
_test
|
_test
|
||||||
uc.a
|
uc.a
|
||||||
bin (包含最终的执行文件)
|
bin (包含最终的执行文件)
|
||||||
ucmain
|
ucmain
|
||||||
pkg/linux_amd64
|
pkg/linux_amd64
|
||||||
uc.a (包的目标文件)
|
uc.a (包的目标文件)
|
||||||
|
|
||||||
将你的项目放在 goprograms 目录下(你可以创建一个环境变量 GOPATH,详见第 2.2/3 章节:在 .profile 和 .bashrc 文件中添加 `export GOPATH=/home/user/goprograms`),而你的项目将作为 src 的子目录。uc 包中的功能在 uc.go 中实现。
|
将你的项目放在 goprograms 目录下(你可以创建一个环境变量 GOPATH,详见第 2.2/3 章节:在 .profile 和 .bashrc 文件中添加 `export GOPATH=/home/user/goprograms`),而你的项目将作为 src 的子目录。uc 包中的功能在 uc.go 中实现。
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user