v1

package
v0.0.0-...-a0c03a0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Map

type Map struct {
	// contains filtered or unexported fields
}

Map represents an arbitrary map[string]interface{} data that will be decoded into a native Go structure.

Map is based on Map in: "github.com/cisco-cx/of/pkg/v1"

func NewMap

func NewMap(input map[string]interface{}) Map

NewMap returns a new instance of Map.

func (Map) DecodeMap

func (m Map) DecodeMap(output interface{}) error

DecodeMap decodes a raw interface into structured data.

DecodeMap implements MapDecoder in: "github.com/cisco-cx/of/pkg/v1"

DecodeMap is based on Decode in: "github.com/mitchellh/mapstructure"

Jump to

Keyboard shortcuts

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