Documentation
¶
Overview ¶
Package analyticswidgets ships the analytics-widgets builtin template (Phase 24, RFC §10, decision D-124).
This file is the only buildable .go in templates/analytics-widgets/. The rest of the directory holds the template's source tree — Go source as `.go.tmpl` files, Svelte files, fixtures, the manifest — which is `//go:embed`ed below and materialised into a working project by the scaffold's template-discovery seam (decision D-128).
The blank import in cmd/dockyard wires this builtin into the process-wide template Registry via the init() block.
Directories
¶
| Path | Synopsis |
|---|---|
|
pkg
|
|
|
contracts
Package contracts holds this server's tool input and output contracts — the typed Go structs that are the source of truth for the tool schemas (Dockyard P1 — contract-first, RFC §6).
|
Package contracts holds this server's tool input and output contracts — the typed Go structs that are the source of truth for the tool schemas (Dockyard P1 — contract-first, RFC §6). |
|
handlers
Package handlers implements the three analytics-widgets tool handlers.
|
Package handlers implements the three analytics-widgets tool handlers. |
Click to show internal directories.
Click to hide internal directories.