package
0.0.0-20241109201159-16952c6bb013
Repository: https://github.com/grokloc/grokloc-apiserver.git
Documentation: pkg.go.dev
# Functions
NewPassword makes sure a string is suitable as a password.
NewVarChar makes sure a string is safe for db storage.
StringIs looks for disallowed patterns and returns an appropriate error.
TrustedPassword assumes you have already validated the input string.
TrustedVarChar assumes you have already validated the input string.
# Constants
No description provided by the author
# Variables
ErrCharsDetected means disallowed chars were found.
ErrHTMLDetected means html was found.
ErrSQLDetected means sql was found.
ErrStringLength means the string is zero-len or exceeds limit.
ErrWSDetected means disallowed whitespace was found.