xmlUtils

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UTF8Header     = xml.Header
	GBKHeader      = `<?xml version="1.0" encoding="GBK"?>` + "\n"
	GB2312Header   = `<?xml version="1.0" encoding="GB2312"?>` + "\n"
	GB18030Header  = `<?xml version="1.0" encoding="GB18030"?>` + "\n"
	HZGB2312Header = `<?xml version="1.0" encoding="HZ-GB2312"?>` + "\n"
	Big5Header     = `<?xml version="1.0" encoding="Big5"?>` + "\n"
)

Variables

This section is empty.

Functions

func Marshal

func Marshal(v any, charset string, prefix, indent string) ([]byte, error)

func Unmarshal

func Unmarshal(data []byte, v any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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