examples

package
v0.55.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTooLong = errors.New(`validate error: too long`)

Functions

func ValidateName

func ValidateName(name string) error

Types

type DependsOnFailable

type DependsOnFailable struct {
	Failable Failable
}

func (*DependsOnFailable) Run

func (d *DependsOnFailable) Run() error

type Failable

type Failable interface {
	Do() error
}

type MyStruct added in v0.5.1

type MyStruct struct{}

func (MyStruct) Bar added in v0.25.0

func (ms MyStruct) Bar() string

func (MyStruct) Baz added in v0.25.0

func (ms MyStruct) Baz() string

func (MyStruct) Foo added in v0.5.1

func (ms MyStruct) Foo() string

func (MyStruct) Say added in v0.5.1

func (ms MyStruct) Say() string

func (MyStruct) Shrug added in v0.25.0

func (ms MyStruct) Shrug(msg string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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