check

package
v0.1.0-beta-007 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fault

type Fault interface {
	Messages() []string
	String() string
}

Fault implements functions to work with validation errors.

func Fail

func Fail(msg string) Fault

Fail creates a new `check.Fault` object.

func FailMany

func FailMany(msgs []string) Fault

FailMany creates a new `check.Fault` object.

Jump to

Keyboard shortcuts

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