Documentation
¶
Overview ¶
Package legacyconversions can be used to atomically switch to safesql. This allows to easily automate the rewrite of all uses of database/sql into safesql. After that step is done, imports of database/sql should be banned, and legacyconversions gradually removed. An allowlist of legacyconversions should be created to make sure no new ones are added.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnsafeSQLString ¶
UnsafeSQLString riskily promotes the given string to a trusted string. Uses of this function should only be introduced to begin a migration to safesql and should eventually be removed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.