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"
)
View Source
const (
TimeFormat = "2006-January-02 15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
func ByteSliceToASCIIStr ¶
Convert byte slice to ASCII-only string Non-ASCII characters will be replaced with placeholder
func ValidateString ¶
Validates name strings. Current policy:
name: lowercase ascii letters and digits only and the characters {' ', '_'}. can't be empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.