MCPcopy Index your code
hub / github.com/polaris1119/The-Golang-Standard-Library-by-Example

github.com/polaris1119/The-Golang-Standard-Library-by-Example @main sqlite

repository ↗ · DeepWiki ↗
116 symbols 238 edges 38 files 28 documented · 24%
README

《Go语言标准库》The Golang Standard Library by Example

Golang标准库。对于程序员而言,标准库与语言本身同样重要,它好比一个百宝箱,能为各种常见的任务提供完美的解决方案。以示例驱动的方式讲解Golang的标准库。

标准库基于最新版本Go。注:目前 Go 标准库文档并没有标识某个 API 基于哪个版本的 Go,将来会加上这部分 issue

讲解中涉及到特定操作系统时,针对的都是 Linux/amd64。Go 中相关系统调用在 Linux 下,对于同一个系统调用,如果有对应的 at 版本,使用的都是 at 版本,如 open 系统调用使用都是 openat。更多信息参考 Go语言中文网博客中关于系统调用的文章

交流

欢迎大家加入QQ群:192706294 《Go语言实现与标准库》交流群

Go语言构建的 Go语言中文网:http://studygolang.com

关注作者公众号,加微信好友、进微信交流群。

阅读

为了更方便阅读,Go语言中文网搭建了阅读平台,可以更友好的在线阅读。

Go语言中文网——Go语言标准库

捐赠

如果您觉得本书对您有帮助,通过微信或支付宝捐赠作者,金额随意!

由于无法从支付方获取支付者信息,请在支付的留言备注功能中附上 Go语言中文网账户的昵称等信息,以便我们记录!

目录

目录

贡献者

hikerell

反馈

由于本人能力有限,书中难免有写的不对之处,且目前所写内容没有经过校正。如果阅读过程中有任何疑问或觉得不对之处,欢迎提出,谢谢!

版权声明

本书所有内容遵循 CC-BY-SA 3.0协议(署名-相同方式共享)

  1. 常见误解

  2. 常用手法

  3. 如何理解,使用

  4. 为什么接口如此组织

  5. 和其它语言对比优缺点

Core symbols most depended-on inside this repo

Fib
called by 6
code/src/chapter09/testing/t.go
Fib
called by 6
code/chapter08/result/src/chapter09/testing/t.go
ReadFrom
called by 3
code/src/chapter01/io/reader.go
FindTopic
called by 3
code/src/chapter09/httptest/data.go
checkIndex
called by 3
code/src/chapter09/httptest/data.go
ReadFrom
called by 3
code/chapter08/result/src/chapter01/io/reader.go
FindTopic
called by 3
code/chapter08/result/src/chapter09/httptest/data.go
Create
called by 3
code/chapter08/result/src/chapter09/httptest/data.go

Shape

Function 108
Method 6
Struct 2

Languages

Go100%

Modules by API surface

code/src/chapter09/testing/t_test.go11 symbols
code/chapter08/result/src/chapter09/testing/t_test.go11 symbols
code/src/chapter09/httptest/server.go6 symbols
code/src/chapter09/httptest/data.go6 symbols
code/chapter08/result/src/chapter09/httptest/server.go6 symbols
code/chapter08/result/src/chapter09/httptest/data.go6 symbols
code/src/chapter10/os_exec.go5 symbols
code/chapter08/result/src/chapter10/os_exec.go5 symbols
code/src/util/util.go4 symbols
code/chapter08/result/src/util/util.go4 symbols
code/src/chapter13/flag/nginx.go3 symbols
code/src/chapter09/testing/parallel_test.go3 symbols

For agents

$ claude mcp add The-Golang-Standard-Library-by-Example \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact