Packages imported by testing

Path Synopsis
archive/tar Package tar implements access to tar archives.
bytes Package bytes implements functions for the manipulation of byte slices.
compress/gzip Package gzip implements reading and writing of gzip format compressed files, as specified in RFC 1952.
crypto/rsa Package rsa implements RSA encryption as specified in PKCS#1 and RFC 8017.
crypto/sha256 Package sha256 implements the SHA224 and SHA256 hash algorithms as defined in FIPS 180-4.
crypto/tls Package tls partially implements TLS 1.2, as specified in RFC 5246, and TLS 1.3, as specified in RFC 8446.
crypto/x509 Package x509 parses X.509-encoded keys and certificates.
fmt Package fmt implements formatted I/O with functions analogous to C's printf and scanf. Package errors provides an easy way to annotate errors without losing the original error context. The featureflag package gives other parts of Juju the ability to easily check to see if a feature flag has been defined. Package os provides access to operating system related configuration. series provides helpers for determining the series of a host, and translating from os to series. Package ssh contains utilities for dealing with SSH connections, key management, and so on. Package version implements version parsing. Package check is a rich testing extension for Go's testing package.
io Package io provides basic interfaces to I/O primitives.
io/ioutil Package ioutil implements some I/O utility functions.
math/rand Package rand implements pseudo-random number generators.
net Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets.
net/http Package http provides HTTP client and server implementations.
os Package os provides a platform-independent interface to operating system functionality.
os/exec Package exec runs external commands.
path Package path implements utility routines for manipulating slash-separated paths.
reflect Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.
runtime Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines.
strings Package strings implements simple functions to manipulate UTF-8 encoded strings.
sync Package sync provides basic synchronization primitives such as mutual exclusion locks.
testing Package testing provides support for automated testing of Go packages.
time Package time provides functionality for measuring and displaying time.

Go back to previous page.