Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrValueTrimSpace = errors.New("value should not start or end with whitespace")
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary struct {
Default bool
}
func (Binary) StringValue ¶
func (Binary) ValidateValue ¶
type DateTime ¶
type DateTime struct{}
func (DateTime) StringValue ¶
func (DateTime) ValidateValue ¶
type DurationGo ¶
type DurationGo struct{}
func (DurationGo) StringValue ¶
func (d DurationGo) StringValue(input interface{}) (string, bool)
func (DurationGo) ValidateValue ¶
func (d DurationGo) ValidateValue(input string) (interface{}, error)
type DurationRFC3339 ¶
type DurationRFC3339 struct{}
func (DurationRFC3339) StringValue ¶
func (d DurationRFC3339) StringValue(input interface{}) (string, bool)
func (DurationRFC3339) ValidateValue ¶
func (d DurationRFC3339) ValidateValue(input string) (interface{}, error)
type Email ¶
type Email struct {
Default bool
}
func (Email) StringValue ¶
func (Email) ValidateValue ¶
type Hostname ¶
type Hostname struct{}
func (Hostname) StringValue ¶
func (Hostname) ValidateValue ¶
Click to show internal directories.
Click to hide internal directories.