validator

package
v0.0.0-...-115b5aa Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(v interface{}) (error, bool)

Validate the given struct ...

func ValidatePreference

func ValidatePreference(pref string) bool

Validate the client preference ...

func ValidateSliceOfStruct

func ValidateSliceOfStruct(v interface{}) (bool, error)

Validate the slice of struct ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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