Documentation ¶ Index ¶ func New(prefix string, underlying driver.Driver) driver.Driver Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(prefix string, underlying driver.Driver) driver.Driver New clones a database driver to create a new driver with the property that every statement executed will have the given prefix prepended. This is useful, for instance, to set statement-level variables like max_statement_time and long_query_time. Types ¶ This section is empty. Source Files ¶ View all Source files db.go Click to show internal directories. Click to hide internal directories.