Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromValidationError ¶
func ToSnakeCase ¶
Types ¶
type TroubleMaker ¶
func NewTroubleMaker ¶
func NewTroubleMaker(setters ...TroubleMakerSetter) TroubleMaker
type TroubleMakerImpl ¶
type TroubleMakerImpl struct {
// contains filtered or unexported fields
}
func (*TroubleMakerImpl) NewTrouble ¶
func (tmi *TroubleMakerImpl) NewTrouble(reason string) error
type TroubleMakerSetter ¶
type TroubleMakerSetter func(*TroubleMakerImpl)
func WithMessages ¶
func WithMessages(messages map[string]string) TroubleMakerSetter
type ValidationError ¶
type ValidationMultiError ¶
Click to show internal directories.
Click to hide internal directories.