yaml2

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	Values []string
}

List represents single or multi strings.

func NewList

func NewList(v interface{}) List

NewList creates a new list.

func (*List) UnmarshalYAML

func (l *List) UnmarshalYAML(unmarshal func(interface{}) error) error

UnmarshalYAML unmarshal single or multi strings.

Jump to

Keyboard shortcuts

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