egsql

package
v0.0.0-...-c7e37ab Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvVarHome is environment variable that represents
	// the egsql home directory.
	EnvVarHome = "EGSQL_HOME"
)

Variables

View Source
var (
	// ErrNotGetEgSQLHomeDir indicates that the home directory path
	// that manages the files used by egsql did not get.
	ErrNotGetEgSQLHomeDir = errors.New("not found egsql home dirctory")
	// ErrNotCreateEgSQLHomeDir means that the egsql home directory
	// could not be created.
	ErrNotCreateEgSQLHomeDir = errors.New("not create egsql home dirctory")
)

Functions

This section is empty.

Types

type Config

type Config struct{}

Config is a configuration parsed from a DSN string.

type Driver

type Driver struct{}

Driver is exported to make the sql driver directly accessible. In general the driver is used via the database/sql package.

func (Driver) Open

func (d Driver) Open(dsn string) (driver.Conn, error)

Open new Connection.

func (Driver) OpenConnector

func (d Driver) OpenConnector(dsn string) (driver.Connector, error)

OpenConnector implements driver.DriverContext.

Jump to

Keyboard shortcuts

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