Help us shape the future of Go! Take the 2026 Go Developer Survey

examples

module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2026 License: Apache-2.0

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

Path Synopsis

Jump to

Keyboard shortcuts

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