store

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package store is WittyCouch's own database (module API 5): a SQLite file in the module's own folder (WITTYMODULE_DATA), with migrations WittyCouch owns. It refers to the server's user ids as they are. It starts empty: nothing is brought over from a server's database.

Index

Constants

View Source
const File = "wittycouch.db"

File is the database's name in the module's folder.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct{ *sql.DB }

DB is WittyCouch's database.

func Open

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

Open opens (and makes, or brings up to date) the database in dir.

Jump to

Keyboard shortcuts

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