Skip to content
/ gotips Public
forked from smallnest/gotips

Go tips from Phuong Le. Go语言编程技巧

Notifications You must be signed in to change notification settings

XdpCs/gotips

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotips Go语言编程技巧

Go tips from Phuong Le.

翻译后的站点: Go语言编程技巧 (自动生成)

翻译规范

  1. 在下一节的翻译任务认领表格中先认领一项翻译任务。不允许一人同时认领多个任务。翻译完一项任务后才能认领下一个任务。
  2. 任务请搜索 Phuong Le 的Twitter账号,找到对应的tip,然后翻译成中文。(可能有的tip作者已经删除,经咨询,作者反馈内容会有增删,所以如果某个tip不存在,请空一个,寻找下一个tip)
  3. fork 本项目,然后在 fork 后的项目中进行翻译认领的一个tip,翻译完成后提交pull request
  4. 任务请在一周内完成,未完成的任务将被释放,其他人可以认领。
  • 项目自动统计贡献者
  • 翻译请保持语句通顺,可以使用AI协助翻译,但是一定要避免生硬和机翻的感觉

**怎么提交Pull Request? **

如果大家以前没有提交过 Pull Request,可以探索下。 首先点击项目右上角的 Fork 按钮,将项目 Fork 到自己的仓库。 然后提交issue,标题中注明认领的tip号和标题,认领相关的翻译任务。提交 在github浏览你fork的项目,你会看到一个 "Create pull request" 按钮,点击它 填写相关的内容提交即可。 后续等待项目的维护者合并你的PR即可。

翻译任务认领表格

tip序号 标题 译者 状态
1 Measure the execution time of a function in just one line of code. smallnest 已完成
2 Multistage defer smallnest 已完成
3 Pre-allocate slices for performance smallnest 已完成
4 Parse an Array into a Slice smallnest 已认领
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78 Non-blocking channel send trick hxzhouh 已认领
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100

生成文档

安装mdbookmdbook-pdf工具。

本地预览

在本地mdbook serve可以生成本地网站访问。

http://localhost:3000

生成静态网站

mdbook build 生成网站到book目录下。

贡献者

贡献者名单

About

Go tips from Phuong Le. Go语言编程技巧

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published