sqlite

package
v0.0.0-...-0d96ec3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryCtx = 3 * time.Second
)

Variables

View Source
var (
	ErrNoRecord = errors.New("sqlite: no matching record found")
)

Functions

func NewStore

func NewStore(DB *sql.DB) *store

Types

type Container

type Container struct {
	ID    int
	Title string
	Notes string
	// todo
	Location string
	// todo
	Image     []byte
	CreatedAt time.Time
	UpdatedAt time.Time
	// todo
	Url string
	// todo
	QRCode string
}

type Item

type Item struct {
	ID          int
	ContainerId uint64
	Name        string
	Description string
	// todo
	Image     []byte
	CreatedAt time.Time
	UpdatedAt time.Time
}

Jump to

Keyboard shortcuts

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