flightsql

package
v1.5.11 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DNS string
	buntdb.Config
}

func (*Config) Build

func (c *Config) Build() (*sql.DB, error)

func (*Config) Init

func (c *Config) Init()

func (*Config) InitBeforeInject

func (c *Config) InitBeforeInject()

type DB

type DB struct {
	*sql.DB
	Conf Config
}

func (*DB) Close

func (m *DB) Close() error

func (*DB) Config

func (m *DB) Config() any

func (*DB) Init

func (m *DB) Init() error

Jump to

Keyboard shortcuts

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