gormvalidator

package module
v0.0.0-...-3d0ed1b Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 3 Imported by: 0

README

gormvalidator

gormvalidator is a GORM extension, used to validate models when creating, updating

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCallbacks

func RegisterCallbacks(db *gorm.DB)

Types

type ValidateInterface

type ValidateInterface interface {
	Validate(*gorm.DB) error
}

Jump to

Keyboard shortcuts

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