post

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyDefaults

func ApplyDefaults(r *validate.Result)

ApplyDefaults applies defaults to the underlying data of the result. The data must be a JSON struct as returned by json.Unmarshal.

func Prune

func Prune(r *validate.Result)

Prune recursively removes all non-specified fields from the underlying data of the result. The data must be a JSON struct as returned by json.Unmarshal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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