langcue

package
v0.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewJSONDataLang = factory(true, unmarshalJSON)
	NewJSONProgLang = factory(false, unmarshalJSON)
	NewYAMLDataLang = factory(true, unmarshalYAML)
	NewYAMLProgLang = factory(false, unmarshalYAML)
	NewCueDataLang  = factory(true, UnmarshalCue)
	NewCueProgLang  = factory(false, UnmarshalCue)
	NewXMLDataLang  = factory(true, unmarshalXML)
	NewXMLProgLang  = factory(false, unmarshalXML)
)

Functions

func Register

func Register(cat lang.Catalog)

func UnmarshalCue

func UnmarshalCue(ctx context.Context, src []byte, dst interface{}) error

func UnmarshalJSON

func UnmarshalJSON(src []byte, dst interface{}) error

func UnmarshalXML added in v0.12.1

func UnmarshalXML(src []byte, dst interface{}) error

func UnmarshalYAML

func UnmarshalYAML(src []byte, dst interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL