sqlite

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package sqlite provides a SQLite3 database utils.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(file string, opts ...OpOption) (*sql.DB, error)

Helper function to open a SQLite3 database.

func OpenTestDB added in v0.3.8

func OpenTestDB(t *testing.T) (*sql.DB, *sql.DB, func())

Types

type Op added in v0.3.8

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

type OpOption added in v0.3.8

type OpOption func(*Op)

Jump to

Keyboard shortcuts

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