Documentation
¶
Overview ¶
Package keel embeds keel's built-in module catalog. This is the only place it can live: go:embed cannot reach a directory outside its own package's tree, and modules/ sits at the repo root alongside this file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Modules embed.FS
Modules is the embedded catalog of every module Keel ships, rooted at the modules/ directory. Consumers typically need fs.Sub(Modules, "modules") to get an fs.FS rooted correctly for catalog.LoadCatalog, since go:embed preserves the embedded directory's own name as a path component rather than flattening it.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
buildinfo
Package buildinfo exposes build-time version information.
|
Package buildinfo exposes build-time version information. |
|
catalog
Package catalog loads a resolver.Catalog from a filesystem of module.yaml manifests — the embedded modules/ tree in the compiled keel binary, or a test fixture in an fstest.MapFS.
|
Package catalog loads a resolver.Catalog from a filesystem of module.yaml manifests — the embedded modules/ tree in the compiled keel binary, or a test fixture in an fstest.MapFS. |
|
cli
Package cli implements the keel command-line interface.
|
Package cli implements the keel command-line interface. |
|
manifest
Package manifest loads and validates module.yaml manifests into typed structs.
|
Package manifest loads and validates module.yaml manifests into typed structs. |
|
renderer
Package renderer executes a resolver.Plan's templates into a target directory.
|
Package renderer executes a resolver.Plan's templates into a target directory. |
|
resolver
Package resolver expands a requested module set into a deterministic, dependency-ordered build plan.
|
Package resolver expands a requested module set into a deterministic, dependency-ordered build plan. |
|
state
Package state reads and writes .keel/state.json, the record of which modules keel init (and later keel add) selected for a generated project.
|
Package state reads and writes .keel/state.json, the record of which modules keel init (and later keel add) selected for a generated project. |
Click to show internal directories.
Click to hide internal directories.