Documentation ¶
Overview ¶
Package legacyconversions provides functions to create values of package safesql types from plain strings. Use of these functions could potentially result in instances of safesql types that violate their type contracts, and hence result in security vulnerabilities. This package should only be used to gradually migrate to use the safesql package but every use of it should eventually be removed as it represents a security risk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RiskilyAssumeTrustedSQLString ¶
func RiskilyAssumeTrustedSQLString(trusted string) safesql.TrustedSQLString
RiskilyAssumeTrustedSQLString riskily promotes the given string to a trusted string. Uses of this function should only be used when migrating to use safesql and should eventually be removed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.