Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorMessage_Default = "field value is invalid" ErrorMessage_Required = "value is required" ErrorMessage_UUID = "value must be a valid UUID" ErrorMessage_Equals = "value must be equal to '%s'" ErrorMessage_Laptime = "value must be a valid laptime 'MM:SS:mmm'" ErrorMessage_HTTP_URL = "value must a valid http url" ErrorMessage_GreaterThan = "value must be greater than '%s'" ErrorMessage_RequiredWithout = "value or '%s' is required" )
Functions ¶
This section is empty.
Types ¶
type StrategyInfo ¶ added in v0.6.2
type StrategyInfo struct {
// contains filtered or unexported fields
}
func NewStrategyInfo ¶ added in v0.6.2
func NewStrategyInfo() *StrategyInfo
func (*StrategyInfo) Validate ¶ added in v0.6.2
func (s *StrategyInfo) Validate(stratInfo models.PitReqCarInfo) error
type ValidationError ¶
type ValidationErrors ¶
type ValidationErrors []ValidationError
func (ValidationErrors) Error ¶
func (ve ValidationErrors) Error() string
Click to show internal directories.
Click to hide internal directories.