vendors

package
v0.0.1-alpha-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelValidator

type ModelValidator interface {
	Struct(doc interface{}) []error
}

func NewModelValidator

func NewModelValidator(
	validator *validator.Validate,
) ModelValidator

type ModelValidatorMock

type ModelValidatorMock struct {
	mock.Mock
}

func NewModelValidatorMock

func NewModelValidatorMock() ModelValidatorMock

func (*ModelValidatorMock) Struct

func (v *ModelValidatorMock) Struct(doc interface{}) []error

Jump to

Keyboard shortcuts

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