validator

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromJSONSchema

func FromJSONSchema(schemaVal []byte) func(jsonVal []byte) error

FromJSONSchema returns a validator that can validate using a JSON schema.

func TaggedStruct

func TaggedStruct(structVal any) error

TaggedStruct validates the given struct-value using go-validate package based on 'validate' tags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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