Directories
¶
| Path | Synopsis |
|---|---|
|
Package aeadutil provides pure AES-GCM helpers shared across runtime/crypto and adapters/vault.
|
Package aeadutil provides pure AES-GCM helpers shared across runtime/crypto and adapters/vault. |
|
Package authz is the framework-level **authorization decision vocabulary** (the PDP contract) returned by auth.Authorizer.
|
Package authz is the framework-level **authorization decision vocabulary** (the PDP contract) returned by auth.Authorizer. |
|
Package cmdrun centralizes whitelisted subprocess invocation for governance and verify helpers (gocell validate / gocell check / golangci-lint runner / archtest tooling).
|
Package cmdrun centralizes whitelisted subprocess invocation for governance and verify helpers (gocell validate / gocell check / golangci-lint runner / archtest tooling). |
|
Package contractpath provides the single source of truth for converting a contract ID to its module-relative generated package path.
|
Package contractpath provides the single source of truth for converting a contract ID to its module-relative generated package path. |
|
Package csvparam parses comma-separated flag and query parameter values.
|
Package csvparam parses comma-separated flag and query parameter values. |
|
Package ctxcancel provides shared helpers for translating context cancellation surfaced from IO operations (DB scan, RPC call, message bus claim) into structured *errcode.Error values with the correct HTTP status for each ctx error variant:
|
Package ctxcancel provides shared helpers for translating context cancellation surfaced from IO operations (DB scan, RPC call, message bus claim) into structured *errcode.Error values with the correct HTTP status for each ctx error variant: |
|
Package ctxkeys provides typed context keys for generic observability and networking identifiers (correlation, trace, span, request, real IP) propagated through context.Context.
|
Package ctxkeys provides typed context keys for generic observability and networking identifiers (correlation, trace, span, request, real IP) propagated through context.Context. |
|
Package ctxutil provides small context.Context helpers for crossing cancellation boundaries that the standard library does not directly model.
|
Package ctxutil provides small context.Context helpers for crossing cancellation boundaries that the standard library does not directly model. |
|
Package errcode provides structured error codes for the GoCell framework.
|
Package errcode provides structured error codes for the GoCell framework. |
|
errcodetest
Package errcodetest provides typed assertion funnels for errcode-bearing test paths.
|
Package errcodetest provides typed assertion funnels for errcode-bearing test paths. |
|
Package httputil provides shared HTTP response helpers for GoCell handlers, including JSON success/error writers and the standard response envelope.
|
Package httputil provides shared HTTP response helpers for GoCell handlers, including JSON success/error writers and the standard response envelope. |
|
Package idutil provides shared ID validation and generation for observability-safe identifiers across kernel/ and runtime/ layers.
|
Package idutil provides shared ID validation and generation for observability-safe identifiers across kernel/ and runtime/ layers. |
|
Package logutil provides shared helpers for safely emitting user-controlled or network-derived strings through structured logging (slog).
|
Package logutil provides shared helpers for safely emitting user-controlled or network-derived strings through structured logging (slog). |
|
Package migration holds the layer-free database-migration value types shared across all GoCell layers.
|
Package migration holds the layer-free database-migration value types shared across all GoCell layers. |
|
Package observability holds tiny shared helpers used across kernel/, runtime/ and adapters/ for emitting structured signals safely.
|
Package observability holds tiny shared helpers used across kernel/, runtime/ and adapters/ for emitting structured signals safely. |
|
Package panicregister provides the only approved way to panic in GoCell production code.
|
Package panicregister provides the only approved way to panic in GoCell production code. |
|
Package pathsafe is the single funnel for scaffold/codegen file writes.
|
Package pathsafe is the single funnel for scaffold/codegen file writes. |
|
Package pgquery provides PostgreSQL helpers: SQL query building (Builder) and generic PG SQLSTATE wire-error classification (IsUniqueViolation / IsForeignKeyViolation).
|
Package pgquery provides PostgreSQL helpers: SQL query building (Builder) and generic PG SQLSTATE wire-error classification (IsUniqueViolation / IsForeignKeyViolation). |
|
Package pgrepoapproved provides the proof-of-authorization token that pgexec.ExecDirect requires as its first argument.
|
Package pgrepoapproved provides the proof-of-authorization token that pgexec.ExecDirect requires as its first argument. |
|
Package redaction provides fail-closed scrubbing of sensitive substrings in error messages and free-form strings before they reach observability backends (OTel span attributes, audit logs, last_error storage columns).
|
Package redaction provides fail-closed scrubbing of sensitive substrings in error messages and free-form strings before they reach observability backends (OTel span attributes, audit logs, last_error storage columns). |
|
Package scaffoldid is the single source of truth for typed scaffold identifier validation across the project.
|
Package scaffoldid is the single source of truth for typed scaffold identifier validation across the project. |
|
Package securecookie encodes and decodes cookie values with HMAC-SHA256 signing and optional AES-GCM encryption using Go standard library crypto only.
|
Package securecookie encodes and decodes cookie values with HMAC-SHA256 signing and optional AES-GCM encryption using Go standard library crypto only. |
|
Package secutil provides security utility helpers shared across GoCell adapters.
|
Package secutil provides security utility helpers shared across GoCell adapters. |
|
Package tenant holds the layer-free tenancy value types shared across all GoCell layers: the TenantID sealed newtype (the multi-tenant isolation boundary identifier) and the RowScope authorization obligation enum.
|
Package tenant holds the layer-free tenancy value types shared across all GoCell layers: the TenantID sealed newtype (the multi-tenant isolation boundary identifier) and the RowScope authorization obligation enum. |
|
testutil
|
|
|
errutil
Package errutil provides test-only helpers for inspecting joined error trees.
|
Package errutil provides test-only helpers for inspecting joined error trees. |
|
fileutil
Package fileutil exports file I/O helpers for GoCell tests.
|
Package fileutil exports file I/O helpers for GoCell tests. |
|
sloghelper
Package sloghelper provides test helpers for asserting slog JSON output.
|
Package sloghelper provides test helpers for asserting slog JSON output. |
|
testtime
Package testtime exports the canonical timeout / poll-interval constants used across GoCell test code.
|
Package testtime exports the canonical timeout / poll-interval constants used across GoCell test code. |
|
testwait
Package testwait provides typed test-wait markers that replace bare require.Eventually / assert.Eventually polling.
|
Package testwait provides typed test-wait markers that replace bare require.Eventually / assert.Eventually polling. |
|
Package validation provides field-level input validation helpers that return structured errcode errors suitable for HTTP handlers and service- layer preconditions.
|
Package validation provides field-level input validation helpers that return structured errcode errors suitable for HTTP handlers and service- layer preconditions. |
|
Package yamlsafe provides a typed YAML scalar that safely round-trips through plain-style YAML emission.
|
Package yamlsafe provides a typed YAML scalar that safely round-trips through plain-style YAML emission. |
Click to show internal directories.
Click to hide internal directories.