reflect

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateUnion

func ValidateUnion(i interface{}) error

Types

type InvalidUnionArgumentError

type InvalidUnionArgumentError struct{}

func (*InvalidUnionArgumentError) Error

func (e *InvalidUnionArgumentError) Error() string

type InvalidUnionFieldError

type InvalidUnionFieldError struct {
	Field string
}

func (*InvalidUnionFieldError) Error

func (e *InvalidUnionFieldError) Error() string

type InvalidUnionMultipleFieldSetError

type InvalidUnionMultipleFieldSetError struct {
	Set []string
}

func (*InvalidUnionMultipleFieldSetError) Error

type InvalidUnionNoFieldSetError

type InvalidUnionNoFieldSetError struct{}

func (*InvalidUnionNoFieldSetError) Error

Jump to

Keyboard shortcuts

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