Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorFormat ¶
func NewErrorBind ¶
Types ¶
type BindError ¶
type BindError struct {
Expected string
Got string
Field string
Offset string
ErrorMessage string
Type BindErrorType
}
type BindErrorType ¶
type BindErrorType int
const ( ErrTypeUndefined BindErrorType = iota ErrTypeSyntax ErrTypeMarshal )
func (BindErrorType) GetType ¶
func (b BindErrorType) GetType(s string) BindErrorType
func (BindErrorType) IsDefined ¶
func (b BindErrorType) IsDefined() bool
Click to show internal directories.
Click to hide internal directories.