omitempty

package
v0.0.0-...-8b593c9 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalJSON

func MarshalJSON(obj interface{}) ([]byte, error)

func MarshalXML

func MarshalXML(obj interface{}, e *xml.Encoder, start xml.StartElement) error

Types

type IsEmptier

type IsEmptier interface {
	IsEmpty() bool
}

Jump to

Keyboard shortcuts

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