validators

package
v0.0.0-...-ae18e74 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialise

func Initialise()

Initialise initialises the values of `validate` and `translator`. The internal variable naming is a bit confusing, but it's mostly copied from documentation

func ValidateStruct

func ValidateStruct(obj interface{}) error

ValidateStruct validates a struct and returns a formatted string

Types

This section is empty.

Jump to

Keyboard shortcuts

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