xmlout

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorElement

func ErrorElement(code int, msg string, path string) string

func IsXMLMode

func IsXMLMode() bool

func WriteJSON

func WriteJSON(w io.Writer, v interface{}) error

func WriteJSONCompact

func WriteJSONCompact(w io.Writer, v interface{}) error

func WritePlain

func WritePlain(w io.Writer, formatFn func(io.Writer, interface{}) error, v interface{}) error

func WriteXML

func WriteXML(w io.Writer, v interface{}, pretty bool) error

func WriteXMLStream

func WriteXMLStream(w io.Writer, elementName string, items []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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