raw

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: 0 Imported by: 0

Documentation

Overview

Package raw is used to provide a bypass mechanism to implement unchecked and legacy conversions packages. This package works as a proxy between safesql and any other "conversions" package.

The way it functions is to expect safesql to provide the unexported constructors for TrustedSQLString at init() time. Since this package is in internal/ it can only be imported by a parent package, so it is known at compile time that these constructors are not unsafely passed around.

Index

Constants

This section is empty.

Variables

View Source
var TrustedSQLString interface{}

TrustedSQLString is the constructor for a TrustedSQLString to be used by the unchecked and legacy conversions packages. This variable will be assigned by the safesql package at init time. The reason why this is an empty interface is to avoid cyclic dependency between safeslq and this package.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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