Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Definitions = map[string][]Definition{}
Definitions is the list of all supported ASDF tags, sorted by `Version`.
Functions ¶
func GabsifyYAML ¶
GabsifyYAML inserts the contents of a YAML node as another property of the JSON object, `key`.
Types ¶
type Definition ¶
type Definition interface { // Version returns the version of the schema. Version() semver.Version // UnmarshalYAML turns a YAML node into an object. UnmarshalYAML(value *yaml.Node) (interface{}, error) }
Definition is an ASDF tag handler.
func FindDefinition ¶
func FindDefinition(tag Tag) Definition
FindDefinition returns the schema definition for the given tag, or nil if no such definition exist.
Click to show internal directories.
Click to hide internal directories.