yaml

package
v0.9.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringandSlice

type StringandSlice struct {
	StringValue string
	SliceValue  []string
}

StringandSlice stores either a string or slice depending on original type Differs from libcompose Stringorslice by being able to determine original type

func (*StringandSlice) UnmarshalYAML

func (s *StringandSlice) UnmarshalYAML(tag string, value interface{}) error

UnmarshalYAML implements the Unmarshaller interface. TODO: this needs to be ported to go-yaml

Jump to

Keyboard shortcuts

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