internal/

directory
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0

Directories

Path Synopsis
Package analyzer implements the ghtmx semantic analysis passes over the shared AST (constitution A2/A4): hx-* attribute validation against the pinned htmx surface, and — in later milestones — binding resolution, fragment classification, and the event registry.
Package analyzer implements the ghtmx semantic analysis passes over the shared AST (constitution A2/A4): hx-* attribute validation against the pinned htmx surface, and — in later milestones — binding resolution, fragment classification, and the event registry.
Package build holds the dependency graph and two-tier invalidation (FR-061, solution design M5).
Package build holds the dependency graph and two-tier invalidation (FR-061, solution design M5).
Package buildcache is the on-disk content-hash build cache (solution design D6, NFR-001): generated output keyed by SHA-256 of the source content, salted with everything else that shapes the output — toolchain version, resolved configuration, and the route-binding state.
Package buildcache is the on-disk content-hash build cache (solution design D6, NFR-001): generated output keyed by SHA-256 of the source content, salted with everything else that shapes the output — toolchain version, resolved configuration, and the route-binding state.
Package config loads the ghtmx project configuration (ghtmx.json at the module root) and applies the flag > file > default precedence (FR-070, FR-071, FR-072, FR-073).
Package config loads the ghtmx project configuration (ghtmx.json at the module root) and applies the flag > file > default precedence (FR-070, FR-071, FR-072, FR-073).
Package diag defines the ghtmx compiler's diagnostic model: stable identifiers, severities, source positions, and an accumulating sink.
Package diag defines the ghtmx compiler's diagnostic model: stable identifiers, severities, source positions, and an accumulating sink.
Package docsite holds the gates on the repository's documentation (NFR-013): that the getting-started guide's code still compiles and renders what it promises, and that the prose which restates a value defined in Go — the pinned htmx version above all — still matches it.
Package docsite holds the gates on the repository's documentation (NFR-013): that the getting-started guide's code still compiles and renders what it promises, and that the prose which restates a value defined in Go — the pinned htmx version above all — still matches it.
central
Package central emits the central generated package (solution design D5): path constants for non-parameterised routes and typed constructor functions for parameterised routes (FR-021).
Package central emits the central generated package (solution design D5): path constants for non-parameterised routes and typed constructor functions for parameterised routes (FR-021).
Package htmxsurface embeds the version-keyed htmx attribute surface set (DATA-006, solution design D8) and provides per-version validation of hx-* attribute names, values, and combinations.
Package htmxsurface embeds the version-keyed htmx attribute surface set (DATA-006, solution design D8) and provides per-version validation of hx-* attribute names, values, and combinations.
lsp
jsonrpc2
Package jsonrpc2 is an implementation of the JSON-RPC 2 specification for Go.
Package jsonrpc2 is an implementation of the JSON-RPC 2 specification for Go.
protocol
Package protocol implements Language Server Protocol specification in Go.
Package protocol implements Language Server Protocol specification in Go.
uri
xcontext
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.
Package release builds the versioned, checksummed release artifacts (NFR-010): one ghtmx binary per supported platform, archived with the license and README, plus a sha256 checksums file.
Package release builds the versioned, checksummed release artifacts (NFR-010): one ghtmx binary per supported platform, archived with the license and README, plus a sha256 checksums file.
cmd command
Command cmd builds the release artifacts (used by the release workflow; tests exercise the same builder on every CI run).
Command cmd builds the release artifacts (used by the release workflow; tests exercise the same builder on every CI run).
Package routes builds the route table from application Go source by syntax-only static analysis (constitution A3, A3.1).
Package routes builds the route table from application Go source by syntax-only static analysis (constitution A3, A3.1).

Jump to

Keyboard shortcuts

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