-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# 2.1 Go1的包机制 | ||
|
||
## 2.1.1 Go语言只定义了包的概念 | ||
|
||
## 2.1.2 GOPATH:标准库包和第三方包的分离 | ||
|
||
## 2.1.3 GOPATH的横向和纵向扩展 | ||
|
||
<!-- | ||
多个GOPATH到只有一个GOPATH | ||
GOPATH的嵌套:vendor | ||
--> | ||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
# 2.2 基于vendor的版本管理 | ||
|
||
## 2.2.1 vendor的工作机制 | ||
|
||
## 2.2.1 vendor的优势 | ||
|
||
TODO | ||
|
||
## 2.2.1 vendor的问题 | ||
|
||
<!-- | ||
vendor是闭环的,无法和外界交换包定义的数据类型 | ||
--> | ||
|
||
<!-- | ||
go接管了编译和链接工作 | ||
但是无法区分不同的版本 | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# 2.3 模块的设计⽬标 | ||
|
||
## 2.3.1 模块的概念 | ||
|
||
## 2.3.2 不同时间可重现构建 | ||
|
||
## 2.3.3 不同环境可重现构建 | ||
|
||
## 2.3.4 语义化版本号 | ||
|
||
## 2.3.5 最⼩化版本选择 | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# 2.1 模块快速⼊⻔ | ||
# 2.4 模块快速⼊⻔ | ||
|
||
## 2.4.1 快速入门 | ||
|
||
## 2.4.2 go get重新⼊⻔ | ||
|
||
## 2.4.3 go.mod⽂件 | ||
|
||
## 2.4.4 go.sum⽂件 | ||
|
||
## 2.4.5 版本切换 | ||
|
||
## 2.4.3 `go mod`命令 | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# 2.5 子模块和多版本共存 | ||
|
||
## 2.5.1 子模块 | ||
|
||
## 2.5.2 多版本共存 | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# 2.6 镜像和私有仓库 | ||
|
||
## 2.6.1 Fork的仓库 | ||
|
||
## 2.6.2 私有仓库 | ||
|
||
TODO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# 2.7 模块化实践中的一些问题 | ||
|
||
## 2.7.1 和GOPATH不兼容 | ||
|
||
## 2.7.2 pkg目录复杂化 | ||
|
||
TODO | ||
|