Help us shape the future of Go! Take the 2026 Go Developer Survey

driver

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMysql

func NewMysql() *mysqlDriver

func NewPostgres

func NewPostgres() *pgxDriver

func NewSqlite

func NewSqlite() *sqliteDriver

Types

type Driver

type Driver interface {
	Returning() bool
	Placeholder(pos int) string
	Conflict(conflict string, updates []string) string
	UpdateAsJoin() bool
}

type Raw

type Raw string

Jump to

Keyboard shortcuts

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