utils

package
v0.0.0-...-bd8fb77 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonSchemaValidator

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

func (*JsonSchemaValidator) Validate

func (v *JsonSchemaValidator) Validate(obj interface{}) error

type Validator

type Validator interface {
	Validate(obj interface{}) error
}

func NewJsonSchemaValidator

func NewJsonSchemaValidator(bs string) (Validator, error)

Jump to

Keyboard shortcuts

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