go – cuelang.org/go Directories

go/ directory

Directories

PathSynopsis
cmd
cmd/cue
cmd/cue/cmd
cmd/cue/cmd/integration
cmd/cue/cmd/integration/base
cmd/cue/cmd/integration/workspace
cuePackage cue is the main API for CUE evaluation.
cue/astPackage ast declares the types used to represent syntax trees for CUE packages.
cue/ast/astutil
cue/buildPackage build defines data types and utilities for defining CUE configuration instances.
cue/cuecontext
cue/errorsPackage errors defines shared types for handling CUE errors.
cue/formatPackage format implements standard formatting of CUE configurations.
cuegoPackage cuego allows using CUE constraints in Go programs.
cue/interpreter
cue/interpreter/embedPackage embed provides capabilities to CUE to embed any file that resides within a CUE module into CUE either verbatim or decoded.
cue/interpreter/wasmPackage wasm allows users to write their own functions and make them available to CUE via Wasm modules.
cue/literalPackage literal implements conversions to and from string representations of basic data types.
cue/loadPackage load loads CUE instances.
cue/parserPackage parser implements a parser for CUE source files.
cue/scannerPackage scanner implements a scanner for CUE source text.
cue/statsPackage stats is an experimental package for getting statistics on CUE evaluations.
cue/tokenPackage token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates).
encodingPackage encoding contains subpackages to convert CUE to and from byte-level and textual representations.
encoding/gocodePackage gocode defines functions for extracting CUE definitions from Go code and generating Go code from CUE values.
encoding/gocode/gocodecPackage gocodec converts Go to and from CUE and validates Go values based on CUE constraints.
encoding/jsonPackage json converts JSON to and from CUE.
encoding/jsonschemaPackage jsonschema converts JSON Schema to CUE
encoding/jsonschema/internal
encoding/openapiPackage openapi provides functionality for mapping CUE to and from OpenAPI v3.0.0.
encoding/protobufPackage protobuf defines functionality for parsing protocol buffer definitions and instances.
encoding/protobuf/jsonpbPackage jsonpb rewrites a CUE expression based upon the Protobuf interpretation of JSON.
encoding/protobuf/pbinternal
encoding/protobuf/textprotoPackage textproto converts text protobuffer files to and from CUE.
encoding/tomlPackage toml converts TOML to and from CUE.
encoding/yamlPackage yaml converts YAML encodings to and from CUE.
internalPackage internal exposes some cue internals to other packages.
mod
mod/modcachePackage modcache provides a file-based cache for modules.
mod/modconfigPackage modconfig provides access to the standard CUE module configuration, including registry access and authorization.
mod/modfilePackage modfile provides functionality for reading and parsing the CUE module file, cue.mod/module.cue.
mod/modregistryPackage modregistry provides functionality for reading and writing CUE modules from an OCI registry.
mod/modulePackage module defines the Version type along with support code.
mod/modzipPackage modzip provides functions for creating and extracting module zip files.
pkgPackage pkg defines CUE standard packages.
pkg/crypto
pkg/crypto/ed25519
pkg/crypto/hmacPackage hmac implements the Keyed-Hash Message Authentication Code (HMAC) as defined in U.S. Federal Information Processing Standards Publication 198.
pkg/crypto/md5
pkg/crypto/sha1
pkg/crypto/sha256
pkg/crypto/sha512
pkg/encoding
pkg/encoding/base64Package base64 implements base64 encoding as specified by RFC 4648.
pkg/encoding/csv
pkg/encoding/hex
pkg/encoding/json
pkg/encoding/toml
pkg/encoding/yaml
pkg/html
pkg/internal
pkg/listPackage list contains functions for manipulating and examining lists.
pkg/math
pkg/math/bits
pkg/netPackage net provides net-related type definitions.
pkg/pathPackage path implements utility routines for manipulating filename paths as defined by targetted operating systems, and also paths that always use forward slashes regardless of the operating system, such as URLs.
pkg/regexpPackage regexp implements regular expression search.
pkg/strconv
pkg/stringsPackage strings implements simple functions to manipulate UTF-8 encoded strings.package strings.
pkg/structPackage struct defines utilities for struct types.
pkg/text
pkg/text/tabwriter
pkg/text/template
pkg/timePackage time defines time-related types.
pkg/toolPackage tool defines stateful operation types for cue commands.
pkg/tool/cliPackage cli provides tasks dealing with a console.
pkg/tool/execPackage exec defines tasks for running commands.
pkg/tool/filePackage file provides file operations for cue tasks.
pkg/tool/httpPackage http provides tasks related to the HTTP protocol.
pkg/tool/osPackage os defines tasks for retrieving os-related information.
pkg/uuidPackage uuid defines functionality for creating UUIDs as defined in RFC 4122.
tools
tools/fixPackage fix contains functionality for writing CUE files with legacy syntax to newer ones.
tools/flowPackage flow provides a low-level workflow manager based on a CUE Instance.
tools/trimPackage trim removes fields that may be inferred from another mixed in value that "dominates" it.
Version
v0.12.0 (latest)
Published
Jan 30, 2025
Platform
linux/amd64
Last checked
5 hours ago

Tools for package owners.