package
Version:
v0.32.0
Opens a new window with list of versions in this module.
Published: Nov 13, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func JsonUnmarshal(b []byte, ptr interface{}) error
JsonUnmarshal unmarshals a json body and errors with a nicer error.
func XmlMarshal(o interface{}) ([]byte, error)
func XmlUnmarshal(b []byte, ptr interface{}) error
XmlUnmarshal unmarshals an xml body and errors with a nicer error.
type Marsaler func(interface{}) ([]byte, error)
type Unmarshaler func([]byte, interface{}) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.