Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = NotFoundError{sql.ErrNoRows}
View Source
var PointerModelExpectedErr = PointerModelExpectedError{}
Functions ¶
This section is empty.
Types ¶
type DefaultValidationError ¶
type DefaultValidationError struct {
// contains filtered or unexported fields
}
func (DefaultValidationError) Error ¶
func (d DefaultValidationError) Error() string
func (DefaultValidationError) Key ¶
func (d DefaultValidationError) Key() string
type FormatInvalidError ¶
type FormatInvalidError struct {
// contains filtered or unexported fields
}
func NewFormatInvalidError ¶
func NewFormatInvalidError(key string, v string) *FormatInvalidError
func (FormatInvalidError) Error ¶
func (f FormatInvalidError) Error() string
func (FormatInvalidError) Key ¶
func (f FormatInvalidError) Key() string
type MustOneOfError ¶
type MustOneOfError struct {
// contains filtered or unexported fields
}
func NewMustOneOfError ¶
func NewMustOneOfError(key string, values []fmt.Stringer, value string) *MustOneOfError
func (MustOneOfError) Error ¶
func (f MustOneOfError) Error() string
func (MustOneOfError) Key ¶
func (f MustOneOfError) Key() string
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
type NotStructError ¶
type NotStructError struct {
// contains filtered or unexported fields
}
func NewNotStructError ¶
func NewNotStructError(v any) *NotStructError
func (NotStructError) Error ¶
func (n NotStructError) Error() string
func (NotStructError) Key ¶
func (n NotStructError) Key() string
type PointerModelExpectedError ¶
type PointerModelExpectedError struct {
// contains filtered or unexported fields
}
func NewPointerModelExpectedError ¶
func NewPointerModelExpectedError(m any) PointerModelExpectedError
func (PointerModelExpectedError) Error ¶
func (p PointerModelExpectedError) Error() string
type RequiredError ¶
type RequiredError struct {
// contains filtered or unexported fields
}
func NewRequiredError ¶
func NewRequiredError(key string) *RequiredError
func (RequiredError) Error ¶
func (f RequiredError) Error() string
func (RequiredError) Key ¶
func (f RequiredError) Key() string
type ValidationError ¶
func NewValidationError ¶
func NewValidationError(key string, v string) ValidationError
Click to show internal directories.
Click to hide internal directories.