# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
Crawl 使用 fetcher 从某个 URL 开始递归的爬取页面,直到达到最大深度。.
Delete elements in s[i:j].
No description provided by the author
Insert n zero-value elements at position i:.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
场景:存取款,账户初始余额为 0。有 16 个用户并行地存取款,其中 10 个用户存 20 次 100 元,另外 6 个取 30 次 50 元,预期最终余额为 11000 元.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
大写字母开头的各种标识符是导出的,即可以被其他 package 引用.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
实现 error 接口的类型可以被 %v 格式化输出.
乐观锁的原理(用 C 语言解释):
1.
SafeCounter 的并发使用是安全的。.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
实现 fmt.Stringer 接口的类型可以被 %v 格式化输出 注意 IPAddr 和 [4]byte 之间没有等号,否则 IPAddr 相当于别名,而不是新的类型,无法添加方法.