validation

package
v0.0.0-...-6f8fa1e Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2016 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package validation provides abstract functions and options to allow validation of any struct or slice without reflection or struct fields.

Compile time safety and no runtime checks ... TODO(cs)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator interface {
	// Validate runs the validation process which becomes valid once
	// the error is nil.
	Validate() error
}

Validator general interface that a type has implemented for validation.

Jump to

Keyboard shortcuts

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