Documentation ¶
Overview ¶
Package mof parses and marshals Managed Object Format (MOF) structures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Unmarshal ¶
Unmarshal parses the MOF-encoded data and stores the result in the value pointed to by v.
Unmarshal allocates maps and slices as necessary.
To unmarshal MOF into an interface value, Unmarshal stores a map[string]interface{} in the interface value.
To unmarshal MOF into a struct, Unmarshal matches incoming object keys to either the struct field name or its tag, preferring an exact match but also accepting a case-insensitive match. The encoding/json package is used to perform this matching, so json struct tags are honored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.