Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DateMustBeAfterError = errors.Wrap(ValidationError, "the :attribute must be after :date, :input given")
View Source
var DateMustBeAfterOrEqualError = errors.Wrap(ValidationError, "the :attribute must be after or equal to :date, :input given")
View Source
var DateMustBeBeforeError = errors.Wrap(ValidationError, "the :attribute must be before :date, :input given")
View Source
var DateMustBeBeforeOrEqualError = errors.Wrap(ValidationError, "the :attribute must be before or equal to :date, :input given")
View Source
var DateMustBeEqualError = errors.Wrap(ValidationError, "the :attribute must be equal to :date, :input given")
View Source
var DateNotValidFormatError = errors.Wrap(ValidationError, "the :attribute is not a valid date (example :example), :input given")
View Source
var IsRequiredError = errors.Wrap(ValidationError, "the :attribute is required")
View Source
var MayNotBeGreaterThanError = errors.Wrap(ValidationError, "the :attribute may not be greater than :expect, :input given")
View Source
var MayNotHaveMoreThanItemsError = errors.Wrap(ValidationError, "the :attribute may not have more than :expect items, :input items given")
View Source
var MuseBeABooleanError = errors.Wrap(ValidationError, "the :attribute must be a boolean, :input given")
View Source
var MuseEndWithError = errors.Wrap(ValidationError, "the :attribute must end with :expect, :input given")
View Source
var MuseStartWithError = errors.Wrap(ValidationError, "the :attribute must start with :expect, :input given")
View Source
var MustBeAMapError = errors.Wrap(ValidationError, "the :attribute must be a map")
View Source
var MustBeASliceError = errors.Wrap(ValidationError, "the :attribute must be a slice")
View Source
var MustBeAStringError = errors.Wrap(ValidationError, "the :attribute must be a string")
View Source
var MustBeAcceptedError = errors.Wrap(ValidationError, "the :attribute must be accepted")
View Source
var MustBeAnIntegerError = errors.Wrap(ValidationError, "the :attribute must be an integer")
View Source
var MustBeAtLeastThanError = errors.Wrap(ValidationError, "the :attribute must be at least :expect, :input given")
View Source
var MustBeAtLeastThanItemsError = errors.Wrap(ValidationError, "the :attribute must be at least :expect items, :input items given")
View Source
var MustBeContainItemsError = errors.Wrap(ValidationError, "the :attribute must contain :expect items, :input items given")
View Source
var MustBeError = errors.Wrap(ValidationError, "the :attribute must be :expect, :input given")
View Source
var MustBePresentError = errors.Wrap(ValidationError, "the :attribute must be present")
View Source
var MustHaveAValueError = errors.Wrap(ValidationError, "the :attribute field must have a value")
View Source
var OptionDateIsRequiredError = errors.New("option Date is required")
View Source
var OptionWithIsRequiredError = errors.New("option With is required")
View Source
var SelectedIsInvalidError = errors.Wrap(ValidationError, "the selected :attribute is invalid")
View Source
var ValidationError = errors.WithLevel(errors.WithStatus(errors.New(""), net.StatusUnprocessableEntity), log_level.INFO)
Functions ¶
This section is empty.
Types ¶
type AfterOrEqual ¶
type BeforeOrEqual ¶
type IntegerAble ¶
type IntegerAble struct{}
Click to show internal directories.
Click to hide internal directories.