mrplayvalidator

package
v0.14.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidatorAdapter

type ValidatorAdapter struct {
	// contains filtered or unexported fields
}

func New

func New() *ValidatorAdapter

func (*ValidatorAdapter) Register

func (v *ValidatorAdapter) Register(tagName string, fn mrview.ValidatorTagNameFunc) error

func (*ValidatorAdapter) Validate

func (v *ValidatorAdapter) Validate(ctx context.Context, structure any) error

Jump to

Keyboard shortcuts

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