zoukankan      html  css  js  c++  java
  • go语言标准库 时刻更新

    Packages

    Standard library ▾

    NameSynopsis
    archive  
    tar

    Package tar implements access to tar archives. 

    tar包实现了tar格式压缩文件的存取.

    zip

    Package zip provides support for reading and writing ZIP archives. 

    zip包提供了zip档案文件的读写服务.

    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. builtin

    包为Go的预声明标识符提供了文档.

    bytes

    Package bytes implements functions for the manipulation of byte slices. 

    bytes包实现了操作[]byte的常用函数.

    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程序类型安全的所有操作.

    Other packages

    Sub-repositories

    These packages are part of the Go Project but outside the main Go tree. They are developed under looser compatibility requirements than the Go core. Install them with "go get".

    • benchmarks — benchmarks to measure Go as it is developed.
    • blog — blog.golang.org's implementation.
    • build — build.golang.org's implementation.
    • crypto — additional cryptography packages.
    • debug — an experimental debugger for Go.
    • image — additional imaging packages.
    • mobile — experimental support for Go on mobile platforms.
    • net — additional networking packages.
    • perf — packages and tools for performance measurement, storage, and analysis.
    • review — a tool for working with Gerrit code reviews.
    • sync — additional concurrency primitives.
    • sys — packages for making system calls.
    • text — packages for working with text.
    • time — additional time packages.
    • tools — godoc, goimports, gorename, and other tools.
    • tour — tour.golang.org's implementation.
    • exp — experimental and deprecated packages (handle with care; may change without warning).

    Community

    These services can help you find Open Source packages provided by the community.

  • 相关阅读:
    双缓冲法解决重绘和闪屏问题
    VC设置视图背景颜色方法
    C++ map,set内部数据结构
    红黑树、平衡二叉树
    堆和栈的区别
    C/C++查找一定范围内的素数(筛法)
    动态内存的传递
    TCP三次握手连接
    php分享十五:php的数据库操作
    php分享十四:php接口编写
  • 原文地址:https://www.cnblogs.com/kaid/p/9788088.html
Copyright © 2011-2022 走看看