result

package
v0.0.0-...-fe92b25 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result interface {
	Valid() bool
	Errors() []ResultError
	CombinedError() error
}

func Failure

func Failure(errs []ResultError) Result

func From

func From(res *gojsonschema.Result) Result

func Success

func Success() Result

type ResultError

type ResultError interface {
	Field() string
	Type() string
	Description() string
	DescriptionFormat() string
	Value() interface{}
	String() string
}

Jump to

Keyboard shortcuts

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