forked from gobyexample-cn/gobyexample-cn.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
187 lines (103 loc) · 6.37 KB
/
index.html
1
2
3
4
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Go by Example 中文版</title>
<link rel=stylesheet href="site.css">
</head>
<body>
<div id="intro">
<h2><a href="./index.html">Go by Example 中文版</a></h2>
<p>
<a href="http://golang.org">Go</a> 是一门被设计用来构建简单、高效、可信赖软件的开源程序设计语言。
</p>
<p>
<em>Go by Example</em> 是对 Go 基于实践的介绍,包含一系列带有注释说明的示例程序。查看<a href="hello-world.html">第一个例子</a>或者浏览下面的完整列表吧。
</p>
<ul>
<li><a href="hello-world.html">Hello World</a></li>
<li><a href="values.html">值</a></li>
<li><a href="variables.html">变量</a></li>
<li><a href="constants.html">常量</a></li>
<li><a href="for.html">For 循环</a></li>
<li><a href="if-else.html">If/Else 分支</a></li>
<li><a href="switch.html">Switch 分支结构</a></li>
<li><a href="arrays.html">数组</a></li>
<li><a href="slices.html">切片</a></li>
<li><a href="maps.html">Map</a></li>
<li><a href="range.html">Range 遍历</a></li>
<li><a href="functions.html">函数</a></li>
<li><a href="multiple-return-values.html">多返回值</a></li>
<li><a href="variadic-functions.html">变参函数</a></li>
<li><a href="closures.html">闭包</a></li>
<li><a href="recursion.html">递归</a></li>
<li><a href="pointers.html">指针</a></li>
<li><a href="strings-and-runes.html">字符串和rune类型</a></li>
<li><a href="structs.html">结构体</a></li>
<li><a href="methods.html">方法</a></li>
<li><a href="interfaces.html">接口</a></li>
<li><a href="embedding.html">Embedding</a></li>
<li><a href="generics.html">泛型</a></li>
<li><a href="errors.html">错误处理</a></li>
<li><a href="goroutines.html">协程</a></li>
<li><a href="channels.html">通道</a></li>
<li><a href="channel-buffering.html">通道缓冲</a></li>
<li><a href="channel-synchronization.html">通道同步</a></li>
<li><a href="channel-directions.html">通道方向</a></li>
<li><a href="select.html">通道选择器</a></li>
<li><a href="timeouts.html">超时处理</a></li>
<li><a href="non-blocking-channel-operations.html">非阻塞通道操作</a></li>
<li><a href="closing-channels.html">通道的关闭</a></li>
<li><a href="range-over-channels.html">通道遍历</a></li>
<li><a href="timers.html">Timer</a></li>
<li><a href="tickers.html">Ticker</a></li>
<li><a href="worker-pools.html">工作池</a></li>
<li><a href="waitgroups.html">WaitGroup</a></li>
<li><a href="rate-limiting.html">速率限制</a></li>
<li><a href="atomic-counters.html">原子计数器</a></li>
<li><a href="mutexes.html">互斥锁</a></li>
<li><a href="stateful-goroutines.html">状态协程</a></li>
<li><a href="sorting.html">排序</a></li>
<li><a href="sorting-by-functions.html">使用函数自定义排序</a></li>
<li><a href="panic.html">Panic</a></li>
<li><a href="defer.html">Defer</a></li>
<li><a href="recover.html">Recover</a></li>
<li><a href="string-functions.html">字符串函数</a></li>
<li><a href="string-formatting.html">字符串格式化</a></li>
<li><a href="text-templates.html">文本模板</a></li>
<li><a href="regular-expressions.html">正则表达式</a></li>
<li><a href="json.html">JSON</a></li>
<li><a href="xml.html">XML</a></li>
<li><a href="time.html">时间</a></li>
<li><a href="epoch.html">时间戳</a></li>
<li><a href="time-formatting-parsing.html">时间的格式化和解析</a></li>
<li><a href="random-numbers.html">随机数</a></li>
<li><a href="number-parsing.html">数字解析</a></li>
<li><a href="url-parsing.html">URL 解析</a></li>
<li><a href="sha256-hashes.html">SHA256 散列</a></li>
<li><a href="base64-encoding.html">Base64 编码</a></li>
<li><a href="reading-files.html">读文件</a></li>
<li><a href="writing-files.html">写文件</a></li>
<li><a href="line-filters.html">行过滤器</a></li>
<li><a href="file-paths.html">文件路径</a></li>
<li><a href="directories.html">目录</a></li>
<li><a href="temporary-files-and-directories.html">临时文件和目录</a></li>
<li><a href="testing-and-benchmarking.html">单元测试和基准测试</a></li>
<li><a href="command-line-arguments.html">命令行参数</a></li>
<li><a href="command-line-flags.html">命令行标志</a></li>
<li><a href="command-line-subcommands.html">命令行子命令</a></li>
<li><a href="environment-variables.html">环境变量</a></li>
<li><a href="http-clients.html">HTTP 客户端</a></li>
<li><a href="http-servers.html">HTTP 服务端</a></li>
<li><a href="context.html">Context</a></li>
<li><a href="spawning-processes.html">生成进程</a></li>
<li><a href="execing-processes.html">执行进程</a></li>
<li><a href="signals.html">信号</a></li>
<li><a href="exit.html">退出</a></li>
</ul>
<p class="footer">
<a href="https://twitter.com/mmcgrana">@mmcgrana</a> 和<a href="https://eli.thegreenplace.net">Eli Bendersky</a>编写 | <a href="https://github.com/gobyexample-cn">gobyexample-cn</a> 翻译 | <a href="https://github.com/gobyexample-cn/gobyexample/issues">反馈</a> | <a href="https://github.com/gobyexample-cn/gobyexample">源码</a> | <a href="https://github.com/mmcgrana/gobyexample#license">license</a> </p>
</p>
</div>
</body>
</html>