go: cuelang.org/go/pkg Index | Files | Directories

package pkg

import "cuelang.org/go/pkg"

Package pkg define CUE standard packages.

Many of the standard packages are modeled after and generated from the Go core packages. The types, values, and functions are defined as their Go equivalence and mapped to CUE types.

Beware that some packages are defined in lesser-precision types than are typically used in CUE and thus may lead to loss of precision.

All packages except those defined in the tool subdirectory are hermetic, that is depending only on a known set of inputs, and therefore can guarantee reproducible results. That is:

- no reading of files contents
- no querying of the file system of any kind
- no communication on the network
- no information about the type of environment
- only reproduceable random generators

Hermetic configurations allow for fast and advanced analysis that otherwise would not be possible or practical. The cue "cmd" command can be used to mix in non-hermetic influences into configurations by using packages defined in the tool subdirectory.

Index

Package Files

doc.go

Directories

PathSynopsis
crypto/md5
crypto/sha1
crypto/sha256
crypto/sha512
encoding/base64Package base64 implements base64 encoding as specified by RFC 4648.
encoding/csv
encoding/hex
encoding/json
encoding/yaml
html
listPackage list contains functions for manipulating and examining lists.
math
math/bits
netPackage net provides net-related type definitions.
path
regexp
strconv
stringsPackage strings implements simple functions to manipulate UTF-8 encoded strings.package strings.
structPackage struct defines utilities for struct types.
text/tabwriter
text/template
timePackage time defines time-related types.
toolPackage tool defines statefull operation types for cue commands.
tool/cliPackage cli provides tasks dealing with a console.
tool/execPackage exec defines tasks for running commands.
tool/filePackage file provides file operations for cue tasks.
tool/httpPackage http provides tasks related to the HTTP protocol.

Updated 2019-11-13. Refresh now. Tools for package owners.