store

package
v0.59.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 2 Imported by: 3

README

store

import "github.com/kitsunium/sdk/framework/app/store"

Package store plugs kit's stores in: the stores a service declares, the databases a product keeps them in and their migrations, app.Transact on a database, sealing at rest, history, revisions, trash, retention, holds, the privacy journal, Records and `data copy` — the engines the SDK's document store and sql run them on. A product that declares a store or a database imports it:

import _ "github.com/kitsunium/sdk/framework/app/store"

A product that declares none does not, and links none of those engines; a program that declares one without it is refused at the start, the refusal naming this import (CodeSubsystemMissing). A connector — framework/connectors/postgres, …/mysql, …/sqlite — imports it itself; framework/app does not (ADR 0179 step 10): kit gen writes the line for a designed product, and a hand-written one writes it.

Generated from docs/api by tools/genindex.

Documentation

Overview

Package store plugs kit's stores in: the stores a service declares, the databases a product keeps them in and their migrations, app.Transact on a database, sealing at rest, history, revisions, trash, retention, holds, the privacy journal, Records and `data copy` — the engines the SDK's document store and sql run them on. A product that declares a store or a database imports it:

import _ "github.com/kitsunium/sdk/framework/app/store"

A product that declares none does not, and links none of those engines; a program that declares one without it is refused at the start, the refusal naming this import (CodeSubsystemMissing). A connector — framework/connectors/postgres, …/mysql, …/sqlite — imports it itself; framework/app does not (ADR 0179 step 10): kit gen writes the line for a designed product, and a hand-written one writes it.

Jump to

Keyboard shortcuts

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