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 NullableObjectID ¶ added in v2.3.0
type NullableObjectID string
func (NullableObjectID) Validate ¶ added in v2.3.0
func (o NullableObjectID) Validate() error
type NullableObjectIdRule ¶ added in v2.3.0
type NullableObjectIdRule int32
func NewNullableObjectIDRule ¶ added in v2.3.0
func NewNullableObjectIDRule() NullableObjectIdRule
func (NullableObjectIdRule) Validate ¶ added in v2.3.0
func (NullableObjectIdRule) Validate(v any) error
type ObjectIdRule ¶
type ObjectIdRule int32
func NewObjectIDRule ¶
func NewObjectIDRule() ObjectIdRule
func (ObjectIdRule) Validate ¶
func (ObjectIdRule) Validate(v any) error
Click to show internal directories.
Click to hide internal directories.