validation

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package validation is defined below

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BooleanPropertyValidation

func BooleanPropertyValidation(key string, property interface{}) (bool, bool, error)

BooleanPropertyValidation function

func Int64PropertyValidation

func Int64PropertyValidation(key string, property interface{}) (int64, bool, error)

Int64PropertyValidation function

func IntegerPropertyValidation

func IntegerPropertyValidation(key string, property interface{}) (int, bool, error)

IntegerPropertyValidation function

func IntegerPropertyValidationWithRange

func IntegerPropertyValidationWithRange(key string, property interface{}, min int, max int) (int, bool, error)

IntegerPropertyValidationWithRange function

func StringPropertyValidation

func StringPropertyValidation(key string, property interface{}, allowed ...string) (string, bool, error)

StringPropertyValidation function

func Uint64PropertyValidation

func Uint64PropertyValidation(key string, property interface{}) (uint64, bool, error)

Uint64PropertyValidation function

Types

This section is empty.

Jump to

Keyboard shortcuts

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