module
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Sep 14, 2026
License: Apache-2.0
Opens a new window with license information.
README
¶
Examples
The examples are a separate Go module. They are not dependencies of the core package.
01_local: core local ledger plus optional Kernel adapter.
02_redis: optional Redis adapter; run with REDIS_ADDR=localhost:6379 go run ./02_redis.
03_postgres: optional PostgreSQL adapter; run with DATABASE_URL=... go run ./03_postgres.
The root module remains usable with only github.com/nexssp/cost. Install an adapter only when needed.
Directories
¶
Click to show internal directories.
Click to hide internal directories.