golang標準庫中文版 html
名稱 | 摘要 | |
---|---|---|
archive | ||
tar | tar包實現了tar格式壓縮文件的存取. | |
zip | zip包提供了zip檔案文件的讀寫服務. | |
bufio | bufio 包實現了帶緩存的I/O操做. | |
builtin | builtin 包爲Go的預聲明標識符提供了文檔. | |
bytes | bytes包實現了操做[]byte的經常使用函數. | |
compress | ||
bzip2 | bzip2包實現bzip2的解壓縮. | |
flate | flate包實現了deflate壓縮數據格式,參見RFC 1951. | |
gzip | gzip包實現了gzip格式壓縮文件的讀寫,參見RFC 1952. | |
lzw | lzw包實現了Lempel-Ziv-Welch數據壓縮格式,這是一種T. A. Welch在「A Technique for High-Performance Data Compression」一文(Computer, 17(6) (June 1984), pp 8-19)提出的一種壓縮格式. | |
zlib | zlib包實現了對zlib格式壓縮數據的讀寫,參見RFC 1950. | |
container | ||
heap | heap包提供了對任意類型(實現了heap.Interface接口)的堆操做. | |
list | list包實現了雙向鏈表. | |
ring | ring實現了環形鏈表的操做. | |
crypto | crypto包蒐集了經常使用的密碼(算法)常量. | |
aes | aes包實現了AES加密算法,參見U.S. Federal Information Processing Standards Publication 197. | |
cipher | cipher包實現了多個標準的用於包裝底層塊加密算法的加密算法實現. | |
des | des包實現了DES標準和TDEA算法,參見U.S. Federal Information Processing Standards Publication 46-3. | |
dsa | dsa包實現FIPS 186-3定義的數字簽名算法(Digital Signature Algorithm),即DSA算法. | |
ecdsa | ecdsa包實現了橢圓曲線數字簽名算法,參見FIPS 186-3. | |
elliptic | elliptic包實現了幾條覆蓋素數有限域的標準橢圓曲線. | |
hmac | hmac包實現了U.S. Federal Information Processing Standards Publication 198規定的HMAC(加密哈希信息認證碼). | |
md5 | md5包實現了MD5哈希算法,參見RFC 1321. | |
rand | rand包實現了用於加解密的更安全的隨機數生成器. | |
rc4 | rc4包實現了RC4加密算法,參見Bruce Schneier's Applied Cryptography. | |
rsa | rsa包實現了PKCS#1規定的RSA加密算法. | |
sha1 | sha1包實現了SHA1哈希算法,參見RFC 3174. | |
sha256 | sha256包實現了SHA224和SHA256哈希算法,參見FIPS 180-4. | |
sha512 | sha512包實現了SHA384和SHA512哈希算法,參見FIPS 180-2. | |
subtle | Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly. | |
tls | tls包實現了TLS 1.2,細節參見RFC 5246. | |
x509 | x509包解析X.509編碼的證書和密鑰. | |
pkix | pkix包提供了共享的、低層次的結構體,用於ASN.1解析和X.509證書、CRL、OCSP的序列化. | |
database | ||
sql | sql 包提供了通用的SQL(或類SQL)數據庫接口. | |
driver | driver包定義了應被數據庫驅動實現的接口,這些接口會被sql包使用. | |
debug | ||
dwarf | Package dwarf provides access to DWARF debugging information loaded from executable files, as defined in the DWARF 2.0 Standard at http://dwarfstd.org/doc/dwarf-2.0.0.pdf | |
elf | Package elf implements access to ELF object files. | |
gosym | Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers. | |
macho | Package macho implements access to Mach-O object files. | |
pe | Package pe implements access to PE (Microsoft Windows Portable Executable) files. | |
plan9obj | Package plan9obj implements access to Plan 9 a.out object files. | |
encoding | encoding包定義了供其它包使用的能夠將數據在字節水平和文本表示之間轉換的接口. | |
ascii85 | ascii85 包是對 ascii85 的數據編碼的實現. | |
asn1 | asn1包實現了DER編碼的ASN.1數據結構的解析,參見ITU-T Rec X.690. | |
base32 | base32包實現了RFC 4648規定的base32編碼. | |
base64 | base64實現了RFC 4648規定的base64編碼. | |
binary | binary包實現了簡單的數字與字節序列的轉換以及變長值的編解碼. | |
csv | csv讀寫逗號分隔值(csv)的文件. | |
gob | gob包管理gob流——在編碼器(發送器)和解碼器(接受器)之間交換的binary值. | |
hex | hex包實現了16進制字符表示的編解碼. | |
json | json包實現了json對象的編解碼,參見RFC 4627. | |
pem | pem包實現了PEM數據編碼(源自保密加強郵件協議). | |
xml | Package xml implements a simple XML 1.0 parser that understands XML name spaces. | |
errors | error 包實現了用於錯誤處理的函數. | |
expvar | expvar包提供了公共變量的標準接口,如服務的操做計數器. | |
flag | flag 包實現命令行標籤解析. | |
fmt | fmt 包實現了格式化I/O函數,相似於C的 printf 和 scanf. | |
go | ||
ast | Package ast declares the types used to represent syntax trees for Go packages. | |
build | Package build gathers information about Go packages. | |
doc | Package doc extracts source code documentation from a Go AST. | |
format | Package format implements standard formatting of Go source. | |
parser | Package parser implements a parser for Go source files. | |
printer | Package printer implements printing of AST nodes. | |
scanner | Package scanner implements a scanner for Go source text. | |
token | Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates). | |
hash | hash包提供hash函數的接口. | |
adler32 | adler32包實現了Adler-32校驗和算法,參見RFC 1950. | |
crc32 | crc32包實現了32位循環冗餘校驗(CRC-32)的校驗和算法. | |
crc64 | Package crc64 implements the 64-bit cyclic redundancy check, or CRC-64, checksum. | |
fnv | fnv包實現了FNV-1和FNV-1a(非加密hash函數). | |
html | html包提供了用於轉義和解轉義HTML文本的函數. | |
template | template包(html/template)實現了數據驅動的模板,用於生成可對抗代碼注入的安全HTML輸出. | |
image | image實現了基本的2D圖片庫. | |
color | color 包實現了基本的顏色庫。 | |
palette | palette包提供了標準的調色板. | |
draw | draw 包提供組裝圖片的方法. | |
gif | gif 包實現了GIF圖片的解碼. | |
jpeg | jpeg包實現了jpeg格式圖像的編解碼. | |
png | png 包實現了PNG圖像的編碼和解碼. | |
index | ||
suffixarray | suffixarrayb包經過使用內存中的後綴樹實現了對數級時間消耗的子字符串搜索. | |
io | io 包爲I/O原語提供了基礎的接口. | |
ioutil | ioutil 實現了一些I/O的工具函數。 | |
log | log包實現了簡單的日誌服務. | |
syslog | syslog包提供一個簡單的系統日誌服務的接口. | |
math | math 包提供了基本常數和數學函數。 | |
big | big 包實現了(大數的)高精度運算. | |
cmplx | cmplx 包爲複數提供了基本的常量和數學函數. | |
rand | rand 包實現了僞隨機數生成器. | |
mime | mime實現了MIME的部分規定. | |
multipart | multipart實現了MIME的multipart解析,參見RFC 2046. | |
net | net包提供了可移植的網絡I/O接口,包括TCP/IP、UDP、域名解析和Unix域socket. | |
http | http包提供了HTTP客戶端和服務端的實現. | |
cgi | cgi 包實現了RFC3875協議描述的CGI(公共網關接口). | |
cookiejar | cookiejar包實現了保管在內存中的符合RFC 6265標準的http.CookieJar接口. | |
fcgi | fcgi 包實現了FastCGI協議. | |
httptest | httptest 包提供HTTP測試的單元工具. | |
httputil | httputil包提供了HTTP公用函數,是對net/http包的更常見函數的補充. | |
pprof | pprof 包經過提供HTTP服務返回runtime的統計數據,這個數據是以pprof可視化工具規定的返回格式返回的. | |
mail 包實現瞭解析郵件消息的功能. | ||
rpc | rpc 包提供了一個方法來經過網絡或者其餘的I/O鏈接進入對象的外部方法. | |
jsonrpc | jsonrpc 包使用了rpc的包實現了一個JSON-RPC的客戶端解碼器和服務端的解碼器. | |
smtp | smtp包實現了簡單郵件傳輸協議(SMTP),參見RFC 5321. | |
textproto | textproto實現了對基於文本的請求/回覆協議的通常性支持,包括HTTP、NNTP和SMTP. | |
url | url包解析URL並實現了查詢的逸碼,參見RFC 3986. | |
os | os包提供了操做系統函數的不依賴平臺的接口. | |
exec | exec包執行外部命令. | |
signal | signal包實現了對輸入信號的訪問. | |
user | user包容許經過名稱或ID查詢用戶賬戶. | |
path | path實現了對斜槓分隔的路徑的實用操做函數. | |
filepath | filepath包實現了兼容各操做系統的文件路徑的實用操做函數. | |
reflect | reflect包實現了運行時反射,容許程序操做任意類型的對象. | |
regexp | regexp包實現了正則表達式搜索. | |
syntax | Package syntax parses regular expressions into parse trees and compiles parse trees into programs. | |
runtime | TODO(osc): 需更新 runtime 包含與Go的運行時系統進行交互的操做,例如用於控制Go程的函數. | |
cgo | cgo 包含有 cgo 工具生成的代碼的運行時支持. | |
debug | debug 包含有程序在運行時調試其自身的功能. | |
pprof | pprof 包按照可視化工具 pprof 所要求的格式寫出運行時分析數據. | |
race | race 包實現了數據競爭檢測邏輯. | |
sort | sort 包爲切片及用戶定義的集合的排序操做提供了原語. | |
strconv | strconv包實現了基本數據類型和其字符串表示的相互轉換. | |
strings | strings包實現了用於操做字符的簡單函數. | |
sync | sync 包提供了互斥鎖這類的基本的同步原語. | |
atomic | atomic 包提供了底層的原子性內存原語,這對於同步算法的實現頗有用. | |
syscall | Package syscall contains an interface to the low-level operating system primitives. | |
testing | Package testing provides support for automated testing of Go packages. | |
iotest | Package iotest implements Readers and Writers useful mainly for testing. | |
quick | Package quick implements utility functions to help with black box testing. | |
text | ||
scanner | scanner包提供對utf-8文本的token掃描服務. | |
tabwriter | tabwriter包實現了寫入過濾器(tabwriter.Writer),能夠將輸入的縮進修正爲正確的對齊文本. | |
template | template包實現了數據驅動的用於生成文本輸出的模板. | |
parse | Package parse builds parse trees for templates as defined by text/template and html/template. | |
time | time包提供了時間的顯示和測量用的函數. | |
unicode | unicode 包提供了一些測試Unicode碼點屬性的數據和函數. | |
utf16 | utf16 包實現了對UTF-16序列的編碼和解碼。 | |
utf8 | utf8 包實現了支持UTF-8文本編碼的函數和常量. | |
unsafe | unsafe 包含有關於Go程序類型安全的全部操做. |
這些包是 Go 項目的一部分,但並未在主源碼樹中。它們在比 Go 核心庫更加寬鬆的兼容性需求下開發。 可經過「go get」安裝它們,子代碼庫的文檔和源碼可經過相應的連接訪問node
這些服務可幫你尋找社區提供的開源包。git