yaml

package
v2.7.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2019 License: MIT Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Marshal               = yaml.Marshal
	NewDecoder            = yaml.NewDecoder
	NewEncoder            = yaml.NewEncoder
	NativeUnmarshal       = yaml.Unmarshal
	NativeUnmarshalStrict = yaml.UnmarshalStrict
)

Expose yaml public objects

View Source
var DictionaryHelper collections.IDictionaryHelper = yamlDictHelper

DictionaryHelper gives public access to the basic dictionary functions

View Source
var GenericListHelper collections.IListHelper = yamlListHelper

GenericListHelper gives public access to the basic list functions

Functions

func Unmarshal

func Unmarshal(data []byte, out interface{}) (err error)

Unmarshal calls the native Unmarshal but transform the results to returns Dictionary and GenericList instead of go native collections.

func UnmarshalStrict

func UnmarshalStrict(data []byte, out interface{}) (err error)

UnmarshalStrict calls the native UnmarshalStrict but transform the results to returns Dictionary and GenericList instead of go native collections.

Types

type Dictionary

type Dictionary = yamlDict

Dictionary implementation of IDictionary for yamlDict

type List

type List = yamlList

List implementation of IGenericList for yamlList

Jump to

Keyboard shortcuts

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