validator

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultValidator

func NewDefaultValidator(logger *log.Logger) *defaultValidator

NewDefaultValidator returns a pointer to the new instance of defaultValidator

Types

type Validator

type Validator interface {
	Validate(s interface{}) bool
}

Validator represents the validator interface

Jump to

Keyboard shortcuts

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