validator

package
v0.0.0-...-f316938 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IEventValidator

type IEventValidator interface {
	Validate(event entity.Event) error
}

func NewEventValidator

func NewEventValidator() IEventValidator

type UserValidator

type UserValidator interface {
	Validate(user entity.User) error
}

func NewUserValidator

func NewUserValidator() UserValidator

Jump to

Keyboard shortcuts

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