sqlite

package
v0.0.0-...-72724d7 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// NewYKKSM is an alias for the global YKKSM sql driver structure
	NewYKKSM = drivers.NewYKKSM
	// NewYKVal is an alias for the global YKVal sql driver structure
	NewYKVal = drivers.NewYKVal
	// NewYKAuth is an alias for the global YKAuth sql driver structure
	NewYKAuth = drivers.NewYKAuth
)

Functions

This section is empty.

Types

type Config

type Config struct {
	File string
}

Config is the structure containing the information to create a sqlite connection

func (Config) Connect

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

Connect use the configuration to initialize a sql.DB connection with sqlite

func (Config) IsSet

func (c Config) IsSet() bool

IsSet is a check to ensure config is properly set up

Jump to

Keyboard shortcuts

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