非常教程

Go参考手册

Go 是一种编译型语言,它结合了解释型语言的游刃有余,动态类型语言的开发效率,以及静态类型的安全性。它也打算成为现代的,支持网络与多核计算的语言。要满足这些目标,需要解决一些语言上的问题:一个富有表达能力但轻量级的类型系统,并发与垃圾回收机制,严格的依赖规范等等。这些无法通过库或工具解决好,因此Go也就应运而生了。

档案 | archive
archive/tar 详细
archive/zip 详细
缓冲区 | bufio
缓存 | bufio 详细
内置 | builtin
内置包 | builtin 详细
字节 | bytes
字节 | bytes 详细
压缩 | compress
压缩/bzip2 | compress/bzip2 详细
压缩/flate | compress/flate 详细
压缩/gzip | compress/gzip 详细
压缩/lzw | compress/lzw 详细
压缩/zlib | compress/zlib 详细
容器 | container
容器数据结构heap | container/heap 详细
容器数据结构list | container/list 详细
容器数据结构ring | container/ring 详细
上下文 | context
上下文 | context 详细
加密 | crypto
加密 | crypto 详细
crypto/aes 详细
crypto/cipher 详细
crypto/des 详细
crypto/dsa 详细
crypto/ecdsa 详细
crypto/elliptic 详细
crypto/hmac 详细
crypto/md5 详细
crypto/rand 详细
crypto/rc4 详细
crypto/rsa 详细
crypto/sha1 详细
crypto/sha256 详细
crypto/sha512 详细
crypto/subtle 详细
crypto/tls 详细
crypto/x509 详细
crypto/x509/pkix 详细
数据库 | database
数据库/sql | database/sql 详细
数据库/sql/driver | database/sql/driver 详细
调试 | debug
debug/dwarf 详细
debug/elf 详细
debug/gosym 详细
debug/macho 详细
debug/pe 详细
debug/plan9obj 详细
编码 | encoding
编码 | encoding 详细
encoding/ascii85 详细
encoding/asn1 详细
encoding/base32 详细
encoding/base64 详细
encoding/binary 详细
encoding/csv 详细
encoding/gob 详细
encoding/hex 详细
encoding/json 详细
encoding/pem 详细
encoding/xml 详细
错误 | errors
错误 | errors 详细
expvar
expvar 详细
flag
flag(命令行参数解析flag包) 详细
fmt
fmt 详细
go
go/ast(抽象语法树) 详细
go/build 详细
go/constant(常量) 详细
go/doc(文档) 详细
go/format(格式) 详细
go/importer 详细
go/parser 详细
go/printer 详细
go/scanner(扫描仪) 详细
go/token(令牌) 详细
go/types(类型) 详细
散列 | hash
散列 | hash 详细
hash/adler32 详细
hash/crc32 详细
hash/crc64 详细
hash/fnv 详细
html
html 详细
html/template(模板) 详细
图像 | image
图像 | image 详细
颜色 | image/color 详细
调色板 | image/color/palette 详细
绘图 | image/draw 详细
image/gif 详细
image/jpeg 详细
image/png 详细
索引 | index
index/suffixarray 详细
io
io 详细
io/ioutil 详细
日志 | log
log 详细
日志系统 | log/syslog 详细
数学 | math
math 详细
math/big
math/big 详细
math/bits
math/bits 详细
math/cmplx
math/cmplx 详细
math/rand
math/rand 详细
拟态 | mime
mime 详细
多部分 | mime/multipart 详细
mime/quotedprintable 详细
net
net 详细
net/http
net/http 详细
net/http/cgi 详细
net/http/cookiejar 详细
net/http/fcgi 详细
net/http/httptest 详细
net/http/httptrace 详细
net/http/httputil 详细
net/http/internal 详细
net/http/pprof 详细
net/mail
net/mail 详细
net/rpc
net/rpc 详细
net/rpc/jsonrpc 详细
net/smtp
net/smtp 详细
net/textproto
net/textproto 详细
net/url
net/url 详细
os
os 详细
os/exec 详细
os/signal 详细
os/user 详细
路径 | path
路径 | path 详细
文件路径 | path/filepath 详细
插件 | plugin
插件 | plugin 详细
反射 | reflect
反射 | reflect 详细
正则表达式 | regexp
正则表达式 | regexp 详细
regexp/syntax 详细
运行时 | runtime
运行时 | runtime 详细
runtime/cgo 详细
调试 | runtime/debug 详细
runtime/internal/sys 详细
runtime/pprof 详细
竞争 | runtime/race 详细
执行追踪器 | runtime/trace 详细
排序算法 | sort
排序算法 | sort 详细
转换 | strconv
转换 | strconv 详细
字符串 | strings
字符串 | strings 详细
同步 | sync
同步 | sync 详细
原子操作 | sync/atomic 详细
系统调用 | syscall
系统调用 | syscall 详细
测试 | testing
测试 | testing 详细
testing/iotest 详细
testing/quick 详细
文本 | text
扫描文本 | text/scanner 详细
text/tabwriter 详细
定义模板 | text/template 详细
text/template/parse 详细
时间戳 | time
时间戳 | time 详细
unicode
unicode 详细
unicode/utf16 详细
unicode/utf8 详细
不安全性 | unsafe
不安全性 | unsafe 详细
Go 语言数据类型
Go 语言基础语法
Go 语言结构
Go 语言 select 语句
Go 语言 switch 语句
Go 语言 if 语句嵌套
Go 语言 if…else 语句
Go 语言 if 语句
Go 语言运算符
Go 语言常量
Go 语言函数闭包
Go 语言函数作为实参
Go 语言函数引用传递值
Go 语言函数值传递值
Go 语言函数
Go 语言 goto 语句
Go 语言 continue 语句
Go 语言 break 语句
Go 语言循环嵌套
Go 语言 for 循环
Go 语言结构体
Go 语言指针作为函数参数
Go 语言指向指针的指针
Go 语言指针数组
Go 语言指针
Go 语言向函数传递数组
Go 语言多维数组
Go 语言变量作用域
Go 语言函数方法
Go 错误处理
Go 语言接口
Go 语言类型转换
Go 语言递归函数
Go 语言Map(集合)
Go 语言范围(Range)
Go 语言切片(Slice)
Go 并发
Go fmt.Sprintf 格式化字符串

Go资料

主页 https://golang.org/
源码 https://go.googlesource.com/go
发布版本 1.9.2

Go目录

1.档案 | archive
2.缓冲区 | bufio
3.内置 | builtin
4.字节 | bytes
5.压缩 | compress
6.容器 | container
7.上下文 | context
8.加密 | crypto
9.数据库 | database
10.调试 | debug
11.编码 | encoding
12.错误 | errors
13. expvar
14.flag
15. fmt
16. go
17.散列 | hash
18.html
19.图像 | image
20.索引 | index
21.io
22.日志 | log
23.数学 | math
24. math/big
25.math/bits
26.math/cmplx
27.math/rand
28.拟态 | mime
29.net
30.net/http
31. net/mail
32. net/rpc
33.net/smtp
34. net/textproto
35. net/url
36.os
37.路径 | path
38.插件 | plugin
39.反射 | reflect
40.正则表达式 | regexp
41.运行时 | runtime
42.排序算法 | sort
43.转换 | strconv
44.字符串 | strings
45.同步 | sync
46.系统调用 | syscall
47.测试 | testing
48.文本 | text
49.时间戳 | time
50.unicode
51.不安全性 | unsafe
52.Go 语言数据类型
53.Go 语言基础语法
54.Go 语言结构
55.Go 语言 select 语句
56.Go 语言 switch 语句
57.Go 语言 if 语句嵌套
58.Go 语言 if…else 语句
59.Go 语言 if 语句
60.Go 语言运算符
61.Go 语言常量
62.Go 语言函数闭包
63.Go 语言函数作为实参
64.Go 语言函数引用传递值
65.Go 语言函数值传递值
66.Go 语言函数
67.Go 语言 goto 语句
68.Go 语言 continue 语句
69.Go 语言 break 语句
70.Go 语言循环嵌套
71.Go 语言 for 循环
72.Go 语言结构体
73.Go 语言指针作为函数参数
74.Go 语言指向指针的指针
75.Go 语言指针数组
76.Go 语言指针
77.Go 语言向函数传递数组
78.Go 语言多维数组
79.Go 语言变量作用域
80.Go 语言函数方法
81.Go 错误处理
82.Go 语言接口
83.Go 语言类型转换
84.Go 语言递归函数
85.Go 语言Map(集合)
86.Go 语言范围(Range)
87.Go 语言切片(Slice)
88.Go 并发
89.Go fmt.Sprintf 格式化字符串