Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldError ¶
type FieldErrorList ¶
type FieldErrorList struct {
// contains filtered or unexported fields
}
func (*FieldErrorList) AddError ¶
func (fel *FieldErrorList) AddError(code string, message string)
func (FieldErrorList) MarshalJSON ¶
func (fel FieldErrorList) MarshalJSON() ([]byte, error)
type FieldErrorMap ¶
type FieldErrorMap struct {
// contains filtered or unexported fields
}
func NewErrorMap ¶
func NewErrorMap() *FieldErrorMap
func (*FieldErrorMap) ForField ¶
func (fem *FieldErrorMap) ForField(key string) *FieldErrorList
func (*FieldErrorMap) HasErrors ¶
func (fem *FieldErrorMap) HasErrors() bool
func (FieldErrorMap) MarshalJSON ¶
func (fem FieldErrorMap) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.