internal

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonUnmarshal

func JsonUnmarshal(b []byte, ptr interface{}) error

JsonUnmarshal unmarshals a json body and errors with a nicer error.

func XmlMarshal

func XmlMarshal(o interface{}) ([]byte, error)

func XmlUnmarshal

func XmlUnmarshal(b []byte, ptr interface{}) error

XmlUnmarshal unmarshals an xml body and errors with a nicer error.

Types

type Marsaler

type Marsaler func(interface{}) ([]byte, error)

type Unmarshaler

type Unmarshaler func([]byte, interface{}) error

Jump to

Keyboard shortcuts

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