encode

package
v0.0.0-...-9f9e314 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoContent = errors.New("内容为空")
)

Functions

func EncodeJSON

func EncodeJSON(v interface{}) ([]byte, error)

func EncodeXML

func EncodeXML(v interface{}) ([]byte, error)

EncodeXML 导出xml的配置文件

func SortedMapIterate

func SortedMapIterate(m map[string]interface{}, f func(string, interface{}))

Types

type EncodeFunc

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

Jump to

Keyboard shortcuts

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