package
1.1.2
Repository: https://github.com/shiftleftsecurity/gaum.git
Documentation: pkg.go.dev

# Functions

EscapeArgs return the query and args with the argument placeholder escaped.

# Variables

Debug sets log level to debug.
Error sets log level to error.
Info sets log level to info.
None sets log level to none.
Trace sets log level to trace.
Warn sets log level to warn.

# Structs

Information contains all required information to create a connection into a db.

# Interfaces

DatabaseHandler represents the boundary with a db.
DB represents an active database connection.

# Type aliases

LogLevel is the type for the potential log levels a db can have.
ResultFetch represents a closure that receives a receiver struct and wil assign all the results it is expected that it receives a slice.
ResultFetchIter represents a closure that receives a receiver struct that will get the results assigned for one row and returns a tuple of `next item present`, `close function`, error.