Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
atlas-sum-check
command
Command atlas-sum-check verifies that the on-disk `atlas.sum` file in each `migrations/<dialect>/` directory matches the directory contents.
|
Command atlas-sum-check verifies that the on-disk `atlas.sum` file in each `migrations/<dialect>/` directory matches the directory contents. |
|
ent-lint
command
Command ent-lint enforces invariants on the Ent schema source tree.
|
Command ent-lint enforces invariants on the Ent schema source tree. |
|
generate-migrations
command
Command generate-migrations diffs the current Ent schemas under ent/schema/ against the latest applied state of migrations/<dialect>/ and emits a new goose-formatted SQL migration per dialect — all under a single shared timestamp prefix.
|
Command generate-migrations diffs the current Ent schemas under ent/schema/ against the latest applied state of migrations/<dialect>/ and emits a new goose-formatted SQL migration per dialect — all under a single shared timestamp prefix. |
|
Package ent is the generated Ent client root.
|
Package ent is the generated Ent client root. |
|
schema
Package schema is the Ent schema source for ncps.
|
Package schema is the Ent schema source for ncps. |
|
internal
|
|
|
entmixin
Package entmixin provides reusable Ent schema mixins for the ncps Ent schemas under ent/schema/.
|
Package entmixin provides reusable Ent schema mixins for the ncps Ent schemas under ent/schema/. |
|
Package migrations embeds the per-dialect goose-format SQL migration files under migrations/<dialect>/ into the ncps binary.
|
Package migrations embeds the per-dialect goose-format SQL migration files under migrations/<dialect>/ into the ncps binary. |
|
pkg
|
|
|
database/migrate
Package migrate implements the ncps schema-migration runtime: state detection, dbmate→goose adoption, fresh-install via Ent's Schema.Create, and the goose hand-off for incremental migrations.
|
Package migrate implements the ncps schema-migration runtime: state detection, dbmate→goose adoption, fresh-install via Ent's Schema.Create, and the goose hand-off for incremental migrations. |
|
lock
Package lock provides an abstraction layer for locking mechanisms.
|
Package lock provides an abstraction layer for locking mechanisms. |
|
lock/redis
Package redis provides distributed lock implementations using Redis.
|
Package redis provides distributed lock implementations using Redis. |
|
zstd
Package zstd provides compression utilities for the NCPS project.
|
Package zstd provides compression utilities for the NCPS project. |
Click to show internal directories.
Click to hide internal directories.