Bufio implements buffered I/O
Bytes provides functions for byte slicing.
Crypto collects common encryption Constants
Errors implements the function with incorrect operations
Expvar provides a standard interface for public variables, such as the operation counter in the server.
Flag implements Command Line Mark Parsing
FMT implements formatting of Input and Output
Hash provides a hash function interface.
HTML implements an HTML5-compatible word divider and parser.
Image implements a basic Two-Dimensional Image Library
Io provides basic interfaces for the I/O primitive
Log is a simple record package that provides the most basic log functions.
Math provides some basic constants and mathematical functions.
Mine implements some mime specifications
NET provides a portable interface for UNIX Network sockets, including TCP/IP, UDP domain name resolution and
UNIX domain socket
OS implements a platform-independent interface for operating system functions
Path implements the operation of the slash-separated file name path.
Reflect implements runtime reflection, allowing a program to operate on objects of any type
Regexp implements a simple Regular Expression Library
Runtime includes operations that interact with the go runtime system, such as the goroutine control function.
Sort provides the basic function set for sorting Sets
Strconv converts between basic data types and strings.
Strings implements simple functions for operating strings
Sync provides basic synchronization mechanisms, such as mutex locks.
Syscall contains an interface with a low-level operating system primitive
Testing provides support for the automatic test go package
Time provides time measurement and display functions
Unicode unicode encoding-related basic functions
Archive tar implements access to tar compressed files
Zip supports reading and writing zip compressed documents
Bzip2 implements Bzip2 Decompression
Flate implements the deflate compression data format defined in RFC 1951.
Gzip implements the reading and writing of compressed files in the GZIP format defined in RFC 1951.
LZW implements the compressed data format in Lempel-Ziv-Welch encoding format. For more information, see T. A. Welch,.
Technique for High-performance data compression, computer, 17 (6) (June 1984), pp
8-19
Compress
Zlib implements the zlib format defined in RFC 1950 to compress read and write data.
Heap provides any type of heap operations that implement the heap. Interface interface.
List implements a double-chain table
Container
Ring implements operations on the circular linked list
AES implements AES encryption (previous Rijndael). For details, see US federal information processing standard (Circular No 197)
Cipher implements the standard block encryption mode, which can be encapsulated into low-level block encryption implementation
Des implements Data Encryption Standard (DES) and Triple Data Encryption Algorithm (triple)
Data Encryption Algorithm, TDEA). For details, see US federal information processing standard (Circular No. 46-3)
DSA implements the data signature algorithm defined in FIPS 186-3 (Digital Signature Algorithm)
ECDSA implements the elliptic curve digital signature algorithm defined in FIPS 186-3.
Algorithm)
Elliptic implements several standard elliptic curves in the prime number field.
HMAC implements the keyed-Hash Message Authentication code,
HMAC). For details, see US federal information processing standard (Circular No 198)
MD5 implements the MD5 hash algorithm defined in RFC 1321.
Rand implements an encrypted and secure pseudo-random number generator.
RC4 implements RC4 encryption. For its definition, see Bruce Schneier's application Cryptography (applied cryptography)
RSA implements the RSA encryption defined in PKCS #1
Sha1 implements the sha1 hash algorithm defined in RFC 3174.
Sha256 implements the shavers and sha256 hash algorithms defined in FIPS 180-2.
Sha512 implements the sha384 and sha512 hash algorithms defined in FIPS 180-2.
Subtle implements some useful encryption functions, but you need to carefully consider them so that they can be correctly applied.
TLS implements the TLS 4346 protocol defined in RFC 1.1.
X509 parses X.509 encoded key values and certificates
Crypto
X509/pkix contains a shared, low-level structure used to parse and serialize X.509 certificates, CRL and OCSP ASN.1
Database SQL provides a common interface around SQL
SQL/driver defines the interfaces required by the database driver.
Dwarf provides access to the dwarf debugging information loaded from the executable file. This package is used to implement the go language.
The debugger is very valuable.
Elf implements access to elf object files. ELF is a common binary executable file and shared library
File format. Linux uses the ELF format
Gosym accesses debugging information in the go binary program. Great value for visual debugging
Macho implements
Access to the Mach-O object file defined by machoruntime/reference/reference.html
Debug
PE implements access to the PE (Microsoft Windows portable executable) File
Ascii85 implements ascii85 data encoding for btoa tools, Adobe's postscript, and PDF file formats
ASN1 implements the ASN.1 data structure for parsing DER encoding. For its definition, see rec x.690 of ITU-T.
Base32 implements the base32 encoding defined in RFC 4648.
Base64 implements base64 encoding defined in RFC 4648
Binary converts unsigned integer values to byte strings, and reads and writes fixed-size values.
CSV readable and written values (CSV) files separated by commas
Gob manages Gob streams-binary value exchange between encoder (sender) and Decoder (receiver)
Hex implements hex encoding and decoding.
JSON implements the encoding and decoding of JSON objects defined in RFC 4627.
PEM implements the PEM (privacy enhanced mail) data encoding.
Encoding
XML implements a simple XML 1.0 parser that can understand the XML namespace
Ast declares the syntax tree type used to demonstrate the go package
Build provides a tool to build the go package.
Doc extracts source code documents from a go AST (Abstract syntax tree)
Parser implements a go source file parser.
Printer prints the AST (Abstract syntax tree ).
Ghost implements a go source code text Scanner
Go
Token defines the Regular Expression of lexical tags and basic operation tags (printing and predicates) in the go programming language.
Quantity
Adler32 implements Adler-32 checksum
CRC32 implements 32-bit cyclic redundancy or CRC-32 checksum
Crc64 implements 64-bit cyclic redundancy or CRC-64 checksum
Hash
FNV implements the FNV-1 and FNV-1a created by Glenn Fowler, Landon Curt Noll and Phong VO
Hash Function
HTML template, which automatically constructs HTML output and prevents code injection
Color implements a basic color library.
Draw provides some graph functions.
GIF implements a GIF image decoder.
JPEG implements a JPEG image decoder and encoder.
Image
PNG implements a PNG image decoder and encoder.
Index suffixarray high-speed string matching search algorithm implemented by building a memory index
Io ioutil implements some practical I/O functions
Log syslog provides a simple interface for the System Log service.
Big implements Multi-precision arithmetic operations (large numbers)
Cmplx provides basic constants and mathematical functions for plural numbers.
Math
Rand implements a pseudo-random number generator
Mime multipart parses multiple MIME parts defined in RFC 2046.
HTTP provides the implementation of HTTP clients and servers
Mail parses mail messages.
RPC provides access to a method that can be exported to an object from a network or other I/O connections.
SMTP implements the Simple Mail Transfer Protocol (Simple Mail Transfer Protocol) defined in RFC 5321)
Textproto implements a common text-based request/response protocol in HTTP, nntp, and SMTP
URL parses the URL and implements the query escape
HTTP/cgi implements CGI (Common Gateway Interface) defined in RFC 3875)
HTTP/fcgi implements FastCGI Protocol
HTTP/httptest provides some HTTP test applications
HTTP/httputil provides some HTTP application functions, which supplement the content in the net/http package.
Not commonly used
HTTP/pprof provides performance test data through its HTTP Server Runtime. The format of this data is exactly what pprof visualized chemical
Required
Net
RPC/jsonrpc for RPC package implementation of a JSON-RPC clientcodec and servercodec
OS exec can run external commands
User checks the user account by name and ID
Path filepath allows you to process the file name path in a way compatible with the file path defined by the target operating system.
Regexp syntax parses a regular expression into a syntax tree
Runtime debug includes debugging its own functions when the program is running.
Pprof writes runtime Performance Test Data in the format required by the pprof visualization tool
Sync atomic provides a low-level atomic memory mechanism for implementing synchronization algorithms.
Iotest provides a series of testing types to implement standard reader and writer interfaces.
Quick provides practical functions for black box testing.
Testing
Script to help test the use Channel
Go standard library