Skip to content

Commit 39c7a4e

Browse files
authored
feat: 更新构建工具 (#74)
* feat: 更新构建工具 1、更新构建工具 tools 目录下的 generate.go,使其符合最新的英文版的构建规则。 并进行了简体中文区的本地化处理,如修改 play.golang.org 网址至 play.studygolang.com, 让更多大陆用户可以免去一些手段才能进行构建。还确保了 examples.txt 的解析保持中文版不变。 2、于 templates 目录下新增 footer.tmpl,以符合新版构建的脚注需求。 3、修改 templates 目录下的 example.tmpl 和 index.tmpl,添加脚注模板的引用。 4、更新 go.mod 和 go.sum,主要是 github.com/russross/blackfriday/v2 的升级, 现与英文版的包版本保持一致。 5、使用新版构建工具进行构建,更新 examples 目录下的 hash 文件。 * docs: 修改 README.md 的内容 1、迎合英文版新版构建工具进行 `构建` 一节的内容修改。 2、修改原构建工具的 `play.golang.org` 为 `play.studygolang.com`, 让更多大陆用户可以尝试本地构建与服务运行。
1 parent ade4760 commit 39c7a4e

File tree

84 files changed

+369
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+369
-217
lines changed

README.md

Lines changed: 8 additions & 15 deletions

examples/arrays/arrays.hash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
f021593f1c779ccd2ce4e6bf2b26153eb496e414
2-
SpnfbVgbjyr
1+
a8ce0ee12360e39e9e2bc56a7df7935e845e531b
2+
ZBvk4QydAlR
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
14b74f356f3f73420e40932689b75e189a26c9c8
2-
yaORzjpC_tZ
1+
5e4b53d07221a1e2ebef5c0bdc33831aaac67580
2+
ms0i-0FMWVt
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
f5b9b12d081b4773f03ef3c93f5d4c58a6da3f26
2-
_fPaHaieaFU
1+
7d1a5debed34df41bc10c6749f690e8f10fda4ea
2+
pPoQnV6owUP
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
114a142924fcb7ec5544bc0afb4a94fa3460c160
2-
4grWiuPaz0b
1+
5e339cb43037d01821ef1371b5ad1552f1ba238c
2+
TU-qtO46hhV
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
11905845f2ed9f32650b272aa7e07c5662c565e6
2-
b9VqKgXgUCg
1+
62bfcd5e3f9a71d7957a1f80c02b5492739d159b
2+
Y7VnAHqQiBK
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
6f4557325b027405da660fabd905da0b6dfea93f
2-
HyZo-7sKFy-
1+
9f11e35cabb0ad950db148317c452bd3b58c238b
2+
LxyiU-YgJlz

examples/channels/channels.hash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
6343d25b847c09d8a5ae275fd93f5d0b6a9c3a42
2-
tB-eNl77E8s
1+
84766cd459c42e8b466e05394336e0f0bc1420e0
2+
BSqrJN1MQAX
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
38d9bc093091b4bbf0832fabcc4f071e10998020
2-
dfMXpTUDw9H
1+
1184edafbfebaa09a63efe3e23e895b451eb64c6
2+
abQFh1JyeUl

examples/closures/closures.hash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
d164a01db5845f3215aebaa4147b3fc95d5198df
2-
2bsrmm7yPBd
1+
750684aae38eb06ce2b0e1f2de0e66f142518f23
2+
3qTEcKMd60U

0 commit comments

Comments
 (0)