validators

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJSONStringString

func NewJSONStringString() func(string) error

NewJSONStringString returns a validator that errors if the string field has a value that cannot be JSON unmarshalled to a map[string]string.

func NewTomeParameterDefinitions

func NewTomeParameterDefinitions() func(string) error

NewTomeParameterDefinitions returns a validator that errors if the string field has a value that cannot be JSON unmarshalled to a []tomes.TomeParamDefinition.

Types

This section is empty.

Jump to

Keyboard shortcuts

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