validationmdl

package
v2.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateGJSONResult

func ValidateGJSONResult(rs *gjson.Result, validationRules, validationMessages requestValidator.MapData) map[string]interface{}

ValidateGJSONResult to validate JSON data

func ValidateJSONString

func ValidateJSONString(jsonString string, validationRules, validationMessages requestValidator.MapData) map[string]interface{}

ValidateJSONString to validate JSON data

func ValidateStruct

func ValidateStruct(structToValidate interface{}) error

ValidateStruct validates the structures with govalidator

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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