validator

package
v1.0.0-beta.6 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package validator providers utilities for user input validation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowedHexChar

func AllowedHexChar(input string) error

func AllowedNumberChar

func AllowedNumberChar(input string) error

func IsMap

func IsMap(input string) error

IsMap checks if the string can be parsed as a map.

Example: "key=value,key2=value2" is a map.

func IsNumber

func IsNumber(s string) error

IsNumber checks if the string is a number.

func IsNumberChar

func IsNumberChar(ch rune) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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