Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ObjectIDRuleErr = validation.NewError("validation_is_mongoid", "Invalid ObjectID")
Functions ¶
This section is empty.
Types ¶
type ObjectIdRule ¶ added in v1.3.0
type ObjectIdRule int32
func NewObjectIDRule ¶ added in v1.3.0
func NewObjectIDRule() ObjectIdRule
func (ObjectIdRule) Validate ¶ added in v1.3.0
func (ObjectIdRule) Validate(v any) error
Click to show internal directories.
Click to hide internal directories.