mysqldriver

package
v1.0.12-rc-1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mysqldriver provides MySQL-specific helpers for the database layer.

It builds MySQL data source name strings and creates upper/db query sessions from an existing *sql.DB connection pool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDSN

func BuildDSN(host, port, user, password, dbname string) string

Build a data source name string

func Session

func Session(pool *sql.DB) (db.Session, error)

Create a new MySQL builder session

Types

This section is empty.

Jump to

Keyboard shortcuts

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