Name |
Synopsis |
archive |
|
tar |
Package tar implements access to tar archives. html tar包實現了tar格式壓縮文件的存取.node |
zip |
Package zip provides support for reading and writing ZIP archives. git zip包提供了zip檔案文件的讀寫服務.golang |
bufio |
Package bufio implements buffered I/O. It wraps an io.Reader or io.Writer object, creating another object (Reader or Writer) that also implements the interface but provides buffering and some help for textual I/O. 正則表達式 bufio 包實現了帶緩存的I/O操做.算法 |
builtin |
Package builtin provides documentation for Go's predeclared identifiers. builtinsql 包爲Go的預聲明標識符提供了文檔.數據庫 |
bytes |
Package bytes implements functions for the manipulation of byte slices. express bytes包實現了操做[]byte的經常使用函數.json |
compress |
|
bzip2 |
Package bzip2 implements bzip2 decompression. bzip2包實現bzip2的解壓縮. |
flate |
Package flate implements the DEFLATE compressed data format, described in RFC 1951. flate包實現了deflate壓縮數據格式,參見RFC 1951. |
gzip |
Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952.
gzip包實現了gzip格式壓縮文件的讀寫,參見RFC 1952. |
|
lzw |
Package lzw implements the Lempel-Ziv-Welch compressed data format, described in T. A. Welch, ``A Technique for High-Performance Data Compression'', Computer, 17(6) (June 1984), pp 8-19. lzw包實現了Lempel-Ziv-Welch數據壓縮格式,這是一種T. A. Welch在「A Technique for High-Performance Data Compression」一文(Computer, 17(6) (June 1984), pp 8-19)提出的一種壓縮格式. |
zlib |
Package zlib implements reading and writing of zlib format compressed data, as specified in RFC 1950. zlib包實現了對zlib格式壓縮數據的讀寫,參見RFC 1950. |
container |
|
heap |
Package heap provides heap operations for any type that implements heap.Interface.
heap包提供了對任意類型(實現了heap.Interface接口)的堆操做. |
|
list |
Package list implements a doubly linked list. list包實現了雙向鏈表. |
ring |
Package ring implements operations on circular lists. ring實現了環形鏈表的操做. |
context |
Package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes. |
crypto |
Package crypto collects common cryptographic constants. crypto包蒐集了經常使用的密碼(算法)常量. |
aes |
Package aes implements AES encryption (formerly Rijndael), as defined in U.S. Federal Information Processing Standards Publication 197. aes包實現了AES加密算法,參見U.S. Federal Information Processing Standards Publication 197. |
cipher |
Package cipher implements standard block cipher modes that can be wrapped around low-level block cipher implementations. cipher包實現了多個標準的用於包裝底層塊加密算法的加密算法實現. |
des |
Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. Federal Information Processing Standards Publication 46-3. des包實現了DES標準和TDEA算法,參見U.S. Federal Information Processing Standards Publication 46-3. |
dsa |
Package dsa implements the Digital Signature Algorithm, as defined in FIPS 186-3. dsa包實現FIPS 186-3定義的數字簽名算法(Digital Signature Algorithm),即DSA算法. |
ecdsa |
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-3. ecdsa包實現了橢圓曲線數字簽名算法,參見FIPS 186-3. |
elliptic |
Package elliptic implements several standard elliptic curves over prime fields. elliptic包實現了幾條覆蓋素數有限域的標準橢圓曲線. |
hmac |
Package hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. Federal Information Processing Standards Publication 198. hmac包實現了U.S. Federal Information Processing Standards Publication 198規定的HMAC(加密哈希信息認證碼). |
md5 |
Package md5 implements the MD5 hash algorithm as defined in RFC 1321. md5包實現了MD5哈希算法,參見RFC 1321. |
rand |
Package rand implements a cryptographically secure random number generator. rand包實現了用於加解密的更安全的隨機數生成器. |
rc4 |
Package rc4 implements RC4 encryption, as defined in Bruce Schneier's Applied Cryptography. rc4包實現了RC4加密算法,參見Bruce Schneier's Applied Cryptography. |
rsa |
Package rsa implements RSA encryption as specified in PKCS#1. rsa包實現了PKCS#1規定的RSA加密算法. |
sha1 |
Package sha1 implements the SHA-1 hash algorithm as defined in RFC 3174. sha1包實現了SHA1哈希算法,參見RFC 3174. |
sha256 |
Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-4. sha256包實現了SHA224和SHA256哈希算法,參見FIPS 180-4. |
sha512 |
Package sha512 implements the SHA-384, SHA-512, SHA-512/224, and SHA-512/256 hash algorithms as defined in FIPS 180-4. 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 |
Package tls partially implements TLS 1.2, as specified in RFC 5246. tls包實現了TLS 1.2,細節參見RFC 5246. |
x509 |
Package x509 parses X.509-encoded keys and certificates. x509包解析X.509編碼的證書和密鑰. |
pkix |
Package pkix contains shared, low level structures used for ASN.1 parsing and serialization of X.509 certificates, CRL and OCSP. pkix包提供了共享的、低層次的結構體,用於ASN.1解析和X.509證書、CRL、OCSP的序列化. |
database |
|
sql |
Package sql provides a generic interface around SQL (or SQL-like) databases. sql 包提供了通用的SQL(或類SQL)數據庫接口. |
driver |
Package driver defines interfaces to be implemented by database drivers as used by package sql. 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 |
Package encoding defines interfaces shared by other packages that convert data to and from byte-level and textual representations. encoding包定義了供其它包使用的能夠將數據在字節水平和文本表示之間轉換的接口. |
ascii85 |
Package ascii85 implements the ascii85 data encoding as used in the btoa tool and Adobe's PostScript and PDF document formats. ascii85 包是對 ascii85 的數據編碼的實現. |
asn1 |
Package asn1 implements parsing of DER-encoded ASN.1 data structures, as defined in ITU-T Rec X.690. asn1包實現了DER編碼的ASN.1數據結構的解析,參見ITU-T Rec X.690. |
base32 |
Package base32 implements base32 encoding as specified by RFC 4648. base32包實現了RFC 4648規定的base32編碼. |
base64 |
Package base64 implements base64 encoding as specified by RFC 4648. base64實現了RFC 4648規定的base64編碼. |
binary |
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints. binary包實現了簡單的數字與字節序列的轉換以及變長值的編解碼. |
csv |
Package csv reads and writes comma-separated values (CSV) files. csv讀寫逗號分隔值(csv)的文件. |
gob |
Package gob manages streams of gobs - binary values exchanged between an Encoder (transmitter) and a Decoder (receiver). gob包管理gob流——在編碼器(發送器)和解碼器(接受器)之間交換的binary值. |
hex |
Package hex implements hexadecimal encoding and decoding. hex包實現了16進制字符表示的編解碼. |
json |
Package json implements encoding and decoding of JSON as defined in RFC 7159. json包實現了json對象的編解碼,參見RFC 4627. |
pem |
Package pem implements the PEM data encoding, which originated in Privacy Enhanced Mail. pem包實現了PEM數據編碼(源自保密加強郵件協議). |
xml |
Package xml implements a simple XML 1.0 parser that understands XML name spaces. |
errors |
Package errors implements functions to manipulate errors. error 包實現了用於錯誤處理的函數. |
expvar |
Package expvar provides a standardized interface to public variables, such as operation counters in servers. expvar包提供了公共變量的標準接口,如服務的操做計數器. |
flag |
Package flag implements command-line flag parsing. flag 包實現命令行標籤解析. |
fmt |
Package fmt implements formatted I/O with functions analogous to C's printf and scanf. 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. |
constant |
Package constant implements Values representing untyped Go constants and their corresponding operations. |
doc |
Package doc extracts source code documentation from a Go AST. |
format |
Package format implements standard formatting of Go source. |
importer |
Package importer provides access to export data importers. |
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). |
types |
Package types declares the data types and implements the algorithms for type-checking of Go packages. |
hash |
Package hash provides interfaces for hash functions. hash包提供hash函數的接口. |
adler32 |
Package adler32 implements the Adler-32 checksum. adler32包實現了Adler-32校驗和算法,參見RFC 1950. |
crc32 |
Package crc32 implements the 32-bit cyclic redundancy check, or CRC-32, checksum.
crc32包實現了32位循環冗餘校驗(CRC-32)的校驗和算法. |
|
crc64 |
Package crc64 implements the 64-bit cyclic redundancy check, or CRC-64, checksum. |
fnv |
Package fnv implements FNV-1 and FNV-1a, non-cryptographic hash functions created by Glenn Fowler, Landon Curt Noll, and Phong Vo. fnv包實現了FNV-1和FNV-1a(非加密hash函數). |
html |
Package html provides functions for escaping and unescaping HTML text. html包提供了用於轉義和解轉義HTML文本的函數. |
template |
Package template (html/template) implements data-driven templates for generating HTML output safe against code injection. template包(html/template)實現了數據驅動的模板,用於生成可對抗代碼注入的安全HTML輸出. |
image |
Package image implements a basic 2-D image library. image實現了基本的2D圖片庫. |
color |
Package color implements a basic color library. color 包實現了基本的顏色庫。 |
palette |
Package palette provides standard color palettes. palette包提供了標準的調色板. |
draw |
Package draw provides image composition functions. draw 包提供組裝圖片的方法. |
gif |
Package gif implements a GIF image decoder and encoder. gif 包實現了GIF圖片的解碼. |
jpeg |
Package jpeg implements a JPEG image decoder and encoder. jpeg包實現了jpeg格式圖像的編解碼. |
png |
Package png implements a PNG image decoder and encoder. png 包實現了PNG圖像的編碼和解碼. |
index |
|
suffixarray |
Package suffixarray implements substring search in logarithmic time using an in-memory suffix array. suffixarrayb包經過使用內存中的後綴樹實現了對數級時間消耗的子字符串搜索. |
io |
Package io provides basic interfaces to I/O primitives. io 包爲I/O原語提供了基礎的接口. |
ioutil |
Package ioutil implements some I/O utility functions. ioutil 實現了一些I/O的工具函數。 |
log |
Package log implements a simple logging package. log包實現了簡單的日誌服務. |
syslog |
Package syslog provides a simple interface to the system log service. syslog包提供一個簡單的系統日誌服務的接口. |
math |
Package math provides basic constants and mathematical functions. math 包提供了基本常數和數學函數。 |
big |
Package big implements arbitrary-precision arithmetic (big numbers). big 包實現了(大數的)高精度運算. |
bits |
Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types. |
cmplx |
Package cmplx provides basic constants and mathematical functions for complex numbers. cmplx 包爲複數提供了基本的常量和數學函數. |
rand |
Package rand implements pseudo-random number generators. rand 包實現了僞隨機數生成器. |
mime |
Package mime implements parts of the MIME spec. mime實現了MIME的部分規定. |
multipart |
Package multipart implements MIME multipart parsing, as defined in RFC 2046. multipart實現了MIME的multipart解析,參見RFC 2046. |
quotedprintable |
Package quotedprintable implements quoted-printable encoding as specified by RFC 2045. |
net |
Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets. net包提供了可移植的網絡I/O接口,包括TCP/IP、UDP、域名解析和Unix域socket. |
http |
Package http provides HTTP client and server implementations. http包提供了HTTP客戶端和服務端的實現. |
cgi |
Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875. cgi 包實現了RFC3875協議描述的CGI(公共網關接口). |
cookiejar |
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar. cookiejar包實現了保管在內存中的符合RFC 6265標準的http.CookieJar接口. |
fcgi |
Package fcgi implements the FastCGI protocol. fcgi 包實現了FastCGI協議. |
httptest |
Package httptest provides utilities for HTTP testing. httptest 包提供HTTP測試的單元工具. |
httptrace |
Package httptrace provides mechanisms to trace the events within HTTP client requests. |
httputil |
Package httputil provides HTTP utility functions, complementing the more common ones in the net/http package. httputil包提供了HTTP公用函數,是對net/http包的更常見函數的補充. |
pprof |
Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool. pprof 包經過提供HTTP服務返回runtime的統計數據,這個數據是以pprof可視化工具規定的返回格式返回的. |
mail |
Package mail implements parsing of mail messages. mail 包實現瞭解析郵件消息的功能. |
rpc |
Package rpc provides access to the exported methods of an object across a network or other I/O connection. rpc 包提供了一個方法來經過網絡或者其餘的I/O鏈接進入對象的外部方法. |
jsonrpc |
Package jsonrpc implements a JSON-RPC 1.0 ClientCodec and ServerCodec for the rpc package. jsonrpc 包使用了rpc的包實現了一個JSON-RPC的客戶端解碼器和服務端的解碼器. |
smtp |
Package smtp implements the Simple Mail Transfer Protocol as defined in RFC 5321. smtp包實現了簡單郵件傳輸協議(SMTP),參見RFC 5321. |
textproto |
Package textproto implements generic support for text-based request/response protocols in the style of HTTP, NNTP, and SMTP. textproto實現了對基於文本的請求/回覆協議的通常性支持,包括HTTP、NNTP和SMTP. |
url |
Package url parses URLs and implements query escaping. url包解析URL並實現了查詢的逸碼,參見RFC 3986. |
os |
Package os provides a platform-independent interface to operating system functionality. os包提供了操做系統函數的不依賴平臺的接口. |
exec |
Package exec runs external commands. exec包執行外部命令. |
signal |
Package signal implements access to incoming signals. signal包實現了對輸入信號的訪問. |
user |
Package user allows user account lookups by name or id. user包容許經過名稱或ID查詢用戶賬戶. |
path |
Package path implements utility routines for manipulating slash-separated paths. path實現了對斜槓分隔的路徑的實用操做函數. |
filepath |
Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths. filepath包實現了兼容各操做系統的文件路徑的實用操做函數. |
plugin |
Package plugin implements loading and symbol resolution of Go plugins. |
reflect |
Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types. reflect包實現了運行時反射,容許程序操做任意類型的對象. |
regexp |
Package regexp implements regular expression search. regexp包實現了正則表達式搜索. |
syntax |
Package syntax parses regular expressions into parse trees and compiles parse trees into programs. |
runtime |
Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines. TODO(osc): 需更新 runtime 包含與Go的運行時系統進行交互的操做,例如用於控制Go程的函數. |
cgo |
Package cgo contains runtime support for code generated by the cgo tool. cgo 包含有 cgo 工具生成的代碼的運行時支持. |
debug |
Package debug contains facilities for programs to debug themselves while they are running. debug 包含有程序在運行時調試其自身的功能. |
msan |
|
pprof |
Package pprof writes runtime profiling data in the format expected by the pprof visualization tool. pprof 包按照可視化工具 pprof 所要求的格式寫出運行時分析數據. |
race |
Package race implements data race detection logic. race 包實現了數據競爭檢測邏輯. |
trace |
Package trace contains facilities for programs to generate traces for the Go execution tracer. |
sort |
Package sort provides primitives for sorting slices and user-defined collections. sort 包爲切片及用戶定義的集合的排序操做提供了原語. |
strconv |
Package strconv implements conversions to and from string representations of basic data types. strconv包實現了基本數據類型和其字符串表示的相互轉換. |
strings |
Package strings implements simple functions to manipulate UTF-8 encoded strings. strings包實現了用於操做字符的簡單函數. |
sync |
Package sync provides basic synchronization primitives such as mutual exclusion locks. sync 包提供了互斥鎖這類的基本的同步原語. |
atomic |
Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms. atomic 包提供了底層的原子性內存原語,這對於同步算法的實現頗有用. |
syscall |
Package syscall contains an interface to the low-level operating system primitives. |
js |
Package js gives access to the WebAssembly host environment when using the js/wasm architecture. |
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 |
Package scanner provides a scanner and tokenizer for UTF-8-encoded text. scanner包提供對utf-8文本的token掃描服務. |
tabwriter |
Package tabwriter implements a write filter (tabwriter.Writer) that translates tabbed columns in input into properly aligned text. tabwriter包實現了寫入過濾器(tabwriter.Writer),能夠將輸入的縮進修正爲正確的對齊文本 |
template |
Package template implements data-driven templates for generating textual output. template包實現了數據驅動的用於生成文本輸出的模板. |
parse |
Package parse builds parse trees for templates as defined by text/template and html/template. |
time |
Package time provides functionality for measuring and displaying time. time包提供了時間的顯示和測量用的函數. |
unicode |
Package unicode provides data and functions to test some properties of Unicode code points. unicode 包提供了一些測試Unicode碼點屬性的數據和函數. |
utf16 |
Package utf16 implements encoding and decoding of UTF-16 sequences. utf16 包實現了對UTF-16序列的編碼和解碼。 |
utf8 |
Package utf8 implements functions and constants to support text encoded in UTF-8. utf8 包實現了支持UTF-8文本編碼的函數和常量. |
unsafe |
Package unsafe contains operations that step around the type safety of Go programs. unsafe 包含有關於Go程序類型安全的全部操做. |