ircbot

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func Open

func Open(path string) (*DB, error)

func (*DB) Begin

func (d *DB) Begin() error

func (*DB) Close

func (d *DB) Close() error

func (*DB) Commit

func (d *DB) Commit() error

func (*DB) Exec

func (d *DB) Exec(sql string, args ...interface{}) error

func (*DB) Path

func (d *DB) Path(name ...string) string

func (*DB) Prepare

func (d *DB) Prepare(sql string) (*sqlite3.Stmt, error)

func (*DB) Query

func (d *DB) Query(sql string, args ...interface{}) (*sqlite3.Stmt, error)

Jump to

Keyboard shortcuts

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