legacyconversions

package
v0.0.0-...-f115076 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

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