helpers

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidError

type InvalidError string

InvalidError is a helper for converting a fieldname to a 'is invalid'-error

func (InvalidError) Error

func (name InvalidError) Error() string

Error return the error-text for a InvalidError

type RequiredError

type RequiredError string

RequiredError is a helper for converting a fieldname to a 'is required'-error

func (RequiredError) Error

func (name RequiredError) Error() string

Error return the error-text for a RequiredError

type StringError

type StringError string

StringError is a helper for converting strings to an `error`

func (StringError) Error

func (err StringError) Error() string

Error return the error-text for a StringError

Jump to

Keyboard shortcuts

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