package
Version:
v0.0.0-...-a0c03a0
Opens a new window with list of versions in this module.
Published: Jul 30, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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(input map[string]interface{}) Map
NewMap returns a new instance of Map.
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"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.