Documentation ¶
Index ¶
- Variables
- func ParseBase64(r io.Reader) (sdktypes.Value, error)
- func ParseCSV(r io.Reader) (sdktypes.Value, error)
- func ParseHex(r io.Reader) (sdktypes.Value, error)
- func ParseJSON(r io.Reader) (sdktypes.Value, error)
- func ParseRawJSON(r io.Reader) (sdktypes.Value, error)
- func ParseRawYAML(r io.Reader) (sdktypes.Value, error)
- func ParseText(r io.Reader) (sdktypes.Value, error)
- func ParseTxTar(r io.Reader) (sdktypes.Value, error)
- func ParseXML(r io.Reader) (sdktypes.Value, error)
- func ParseYAML(r io.Reader) (sdktypes.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Parsers = map[string]func(io.Reader) (sdktypes.Value, error){ "txt": ParseText, "json": ParseJSON, "yaml": ParseYAML, "kitteh.yaml": ParseRawYAML, "kitteh.json": ParseRawJSON, "csv": ParseCSV, "b64": ParseBase64, "hex": ParseHex, "xml": ParseXML, "txtar": ParseTxTar, } Extensions = maps.Keys(Parsers) ExtensionsWithDotPrefix = kittehs.Transform(Extensions, func(s string) string { return "." + s }) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.