validators

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 5 Imported by: 0

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 ObjectID

type ObjectID string

func (ObjectID) Validate

func (o ObjectID) Validate() error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL