examples

package
v0.151.0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 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 MyStruct

type MyStruct struct{}

func (MyStruct) Bar

func (ms MyStruct) Bar() string

func (MyStruct) Baz

func (ms MyStruct) Baz() string

func (MyStruct) Foo

func (ms MyStruct) Foo() string

func (MyStruct) Say

func (ms MyStruct) Say() string

func (MyStruct) Shrug

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