db

package
v0.0.0-...-1367321 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2016 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 DBTool

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

func DefaultDBTool

func DefaultDBTool() *DBTool

func NewDBTool

func NewDBTool(filename string) *DBTool

func (*DBTool) Add

func (dbTool *DBTool) Add(table string, stock int, data [][]string)

func (*DBTool) Close

func (dbTool *DBTool) Close()

func (*DBTool) DBExist

func (dbTool *DBTool) DBExist() bool

func (*DBTool) Initialise

func (dbTool *DBTool) Initialise()

func (*DBTool) Query

func (dbTool *DBTool) Query(queryStr string) (*sql.Rows, error)

Jump to

Keyboard shortcuts

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