types

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ASCII_MIN = 32  // min visible ascii
	ASCII_MAX = 126 // max visible ascii
	ASCII_DEL = 127 // ascii for DEL
)
View Source
const (
	NAME_RESTRICTIONS charRestrictionEnum = "name"
)

Variables

This section is empty.

Functions

func ValidateString

func ValidateString(s string, restrictType charRestrictionEnum, disallowedChars []rune) bool

Validates name strings. Current policy:

name: lowercase ascii letters and digits only and the characters {' ', '_'}. can't be empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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