end f75a8acf60
Documentation / docs (pull_request) Successful in 10m48s
ci / check (pull_request) Successful in 12m53s
ci / postgres (pull_request) Successful in 12m55s
ci(page): use Node-capable runner for PostgreSQL tests
2026-10-27 13:06:09 -07:00

corestack go

Shared Go building blocks. The first one is docs, a checker for architecture decision records (ADRs) and implementation plans.

docs

Install:

go install go.auvem.com/corestack/cmd/docs@latest

Use, from a repository root:

docs new adr "Use Example Queue for background jobs"   # creates docs/adr/<id>.md
docs new plan "Adopt Example Queue"                    # creates docs/plans/<id>.md
docs check [--root DIR]                                # prints path:line: message; exit 1 on problems

The format is specified in docs/docs-format.md; that document is the complete rule set. Exit status is 0 when every record is valid, 1 when problems are reported and 2 for usage errors.

page

page provides transport-neutral Bob keyset pagination with typed items, mixed-direction sorts, opaque typed cursors, and a separate opt-in count. Pass a trusted Sort and a typed row key in the same column order; sort columns must be non-null and end in a unique column. See the runnable example and cursor decision.

SQLite runs in-process in the normal test suite (requires CGO). PostgreSQL runs in CI; locally set PAGE_POSTGRES_DSN to an isolated test database to run the same flow. Set PAGE_REQUIRE_POSTGRES=1 to fail rather than skip when the DSN is absent. MySQL mod composition compiles; its runtime behavior has not been verified.

Status

No support is guaranteed. Breaking changes, including to the format rules, may happen before 1.0 and are listed in the release notes.

License

BSD-3-Clause, see LICENSE.

S
Description
Go foundation libraries: lifecycle with clean shutdown, CLI bridge, Goose migrations, and Bob-based pagination with GraphQL and Connect adapters. BSD-3-Clause; no support guarantees, breaking changes before 1.0.
Readme BSD-3-Clause
509 KiB
0 Stars 2 Watchers 0 Forks
v0.2.0
Latest
2026-10-28 16:12:10 -07:00
Languages
Go 100%