sqlite3

package
v0.0.0-...-8d9db00 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2017 License: MIT Imports: 4 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 {
	File string `json:"file" env:"SQLITE_FILE"`
}

type SQLite

type SQLite struct {
	Config     *Config
	Connection *sql.DB
}

func New

func New() *SQLite

func (*SQLite) Close

func (m *SQLite) Close() error

func (*SQLite) Connect

func (m *SQLite) Connect() error

func (*SQLite) GetConnection

func (m *SQLite) GetConnection() interface{}

func (*SQLite) NewConfig

func (m *SQLite) NewConfig() interface{}

func (*SQLite) ValidateBefore

func (m *SQLite) ValidateBefore() error

Jump to

Keyboard shortcuts

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