drivers

package
v0.0.0-...-b623679 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DriverPostgres

type DriverPostgres struct {
	// contains filtered or unexported fields
}

func (*DriverPostgres) Close

func (d *DriverPostgres) Close() error

func (*DriverPostgres) Exec

func (d *DriverPostgres) Exec(directive string, args ...interface{}) (sql.Result, error)

func (*DriverPostgres) MustConnect

func (d *DriverPostgres) MustConnect(uri, user, password string) (*sql.DB, error)

func (*DriverPostgres) Query

func (d *DriverPostgres) Query(query string, args ...interface{}) (*sql.Rows, error)

type DriverSqlite3

type DriverSqlite3 struct {
	// contains filtered or unexported fields
}

func (*DriverSqlite3) Close

func (d *DriverSqlite3) Close() error

func (*DriverSqlite3) Exec

func (d *DriverSqlite3) Exec(directive string, args ...interface{}) (sql.Result, error)

func (*DriverSqlite3) MustConnect

func (d *DriverSqlite3) MustConnect(uri, user, password string) (*sql.DB, error)

func (*DriverSqlite3) Query

func (d *DriverSqlite3) Query(query string, args ...interface{}) (*sql.Rows, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳