xmlx

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v interface{}) (string, error)

Marshal encode value to xml formatted string

func MarshalIndent

func MarshalIndent(v interface{}, indent string) (string, error)

MarshalIndent marshal value to xml string, with indent for each element

func Unmarshal

func Unmarshal(s string, v interface{}) error

Unmarshal parse the xml encoded string, store into value

Types

This section is empty.

Jump to

Keyboard shortcuts

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