package
0.3.1
Repository: https://github.com/u2takey/go-utils.git
Documentation: pkg.go.dev

# Functions

HTMLEscape appends to dst the JSON-encoded src with <, >, &, U+2028 and U+2029 characters inside string literals changed to \u003c, \u003e, \u0026, \u2028, \u2029 so that the JSON will be safe to embed inside HTML <script> tags.
No description provided by the author
MarshalIndent is like Marshal but applies Indent to format the output.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

修改默认的省略配置,请修改 DefaultEncOpts.

# Structs

A MarshalerError represents an error from calling a MarshalJSON or MarshalText method.
An UnsupportedTypeError is returned by Marshal when attempting to encode an unsupported value type.
No description provided by the author

# Interfaces

Marshaler is the interface implemented by types that can marshal themselves into valid JSON.

# Type aliases

A Number represents a JSON number literal.