package encoding
import "cuelang.org/go/cue/encoding"
Package encoding provides support for managing data format files supported by CUE.
Index ¶
Types ¶
type Encoding ¶
type Encoding struct {
// contains filtered or unexported fields
}
Encoding represents a data encoding.
func All ¶
func All() []*Encoding
All returns all known encodings.
func MapExtension ¶
MapExtension returns the likely encoding for a given file extension.
func (*Encoding) Name ¶
Name returns a lowercase name of an encoding. This is conventionally the most common file extension in lower case.
Source Files ¶
encoding.go
- Version
- v0.3.0-beta.8
- Published
- Mar 30, 2021
- Platform
- windows/amd64
- Imports
- 1 packages
- Last checked
- 43 minutes ago –
Tools for package owners.