Directories
¶
| Path | Synopsis |
|---|---|
|
Package ast defines the abstract syntax tree produced by the parser.
|
Package ast defines the abstract syntax tree produced by the parser. |
|
Package bench houses bind-path microbenchmarks.
|
Package bench houses bind-path microbenchmarks. |
|
OpenAPI codegen uses `github.com/getkin/kin-openapi` to build a strongly- typed openapi3.T document and `sigs.k8s.io/yaml` to render it as YAML.
|
OpenAPI codegen uses `github.com/getkin/kin-openapi` to build a strongly- typed openapi3.T document and `sigs.k8s.io/yaml` to render it as YAML. |
|
Package config loads and validates `craftgo.design.yaml`, the project manifest read by every CLI command.
|
Package config loads and validates `craftgo.design.yaml`, the project manifest read by every CLI command. |
|
Package errcat holds the canonical catalogue of reserved HTTP error categories.
|
Package errcat holds the canonical catalogue of reserved HTTP error categories. |
|
Package format renders an ast.File back to canonical CraftGo source.
|
Package format renders an ast.File back to canonical CraftGo source. |
|
Package idents holds the Go-identifier conversion helpers used by both the semantic analyser and the codegen pass.
|
Package idents holds the Go-identifier conversion helpers used by both the semantic analyser and the codegen pass. |
|
Package lexer tokenizes craftgo DSL source files.
|
Package lexer tokenizes craftgo DSL source files. |
|
Decorator-arg/name LSP completions: dispatcher, context detection, error categories.
|
Decorator-arg/name LSP completions: dispatcher, context detection, error categories. |
|
Package parser turns a craftgo source buffer into an ast.File.
|
Package parser turns a craftgo source buffer into an ast.File. |
|
Package route is the leaf authority for craftgo's HTTP routes: how a method's final route is assembled (base path + @prefix + method path), the string form of a DSL path, the shape key two colliding routes share, and net/http's pattern-overlap rule.
|
Package route is the leaf authority for craftgo's HTTP routes: how a method's final route is assembled (base path + @prefix + method path), the string form of a DSL path, the shape key two colliding routes share, and net/http's pattern-overlap rule. |
|
Package semantic — @default literal validation: type/element support, primitive-kind map, helpers.
|
Package semantic — @default literal validation: type/element support, primitive-kind map, helpers. |
|
Package strfmt holds the canonical catalogue of named string formats the `@format` decorator accepts.
|
Package strfmt holds the canonical catalogue of named string formats the `@format` decorator accepts. |
|
Package wire is the leaf vocabulary of craftgo's wire bindings: where a field's value rides (path / query / header / cookie / form / body / sensitive), how its wire name is derived, and the request auto-binding rule.
|
Package wire is the leaf vocabulary of craftgo's wire bindings: where a field's value rides (path / query / header / cookie / form / body / sensitive), how its wire name is derived, and the request auto-binding rule. |
Click to show internal directories.
Click to hide internal directories.