Directories
¶
| Path | Synopsis |
|---|---|
|
adapters
|
|
|
databasesql
Package databasesql adapts Go's standard database/sql to goboot's driver-neutral db abstraction (§6.6, §27).
|
Package databasesql adapts Go's standard database/sql to goboot's driver-neutral db abstraction (§6.6, §27). |
|
oidc
module
|
|
|
pgx
module
|
|
|
redis
module
|
|
|
Package annotation implements goboot's `@Name(arg=value, ...)` comment annotation language (§9): the lexer and parser, the value model, and the schema registry that validates parsed annotations against their definitions.
|
Package annotation implements goboot's `@Name(arg=value, ...)` comment annotation language (§9): the lexer and parser, the value model, and the schema registry that validates parsed annotations against their definitions. |
|
Package cli implements the annotation-driven compiler CLI (§43): it loads Go packages, parses annotations, validates the application, and generates type-safe wiring through the standard go/generate workflow (§44, §59).
|
Package cli implements the annotation-driven compiler CLI (§43): it loads Go packages, parses annotations, validates the application, and generates type-safe wiring through the standard go/generate workflow (§44, §59). |
|
cmd
|
|
|
goboot
command
Command goboot is the annotation-driven compiler CLI (§43).
|
Command goboot is the annotation-driven compiler CLI (§43). |
|
Package compiler loads Go packages, associates annotation comments with the declarations they document, resolves type information, and validates the result against the annotation registry.
|
Package compiler loads Go packages, associates annotation comments with the declarations they document, resolves type information, and validates the result against the annotation registry. |
|
generator
|
|
|
di
Package di generates the dependency-injection wiring for an application: a single Go source file that constructs every singleton component in dependency order and returns them (§32).
|
Package di generates the dependency-injection wiring for an application: a single Go source file that constructs every singleton component in dependency order and returns them (§32). |
|
Package graph builds and analyzes the component dependency graph (§15).
|
Package graph builds and analyzes the component dependency graph (§15). |
|
internal
|
|
|
Package model defines the intermediate application model produced by semantic analysis and consumed by the code generators (specification §38).
|
Package model defines the intermediate application model produced by semantic analysis and consumed by the code generators (specification §38). |
|
Package plugin defines goboot's compile-time extension model (§46).
|
Package plugin defines goboot's compile-time extension model (§46). |
|
exampleplugin
Package exampleplugin is a reference goboot plugin demonstrating every extension point (§46): it registers an annotation, contributes semantic analysis, generates an artifact, and provides a SQL dialect (as a database driver would).
|
Package exampleplugin is a reference goboot plugin demonstrating every extension point (§46): it registers an annotation, contributes semantic analysis, generates an artifact, and provides a SQL dialect (as a database driver would). |
|
plugins
|
|
|
metrics
module
|
|
|
openapi
module
|
|
|
validate
module
|
|
|
Package runtime provides the minimal reusable abstractions that goboot's generated HTTP code depends on: request binding, validation, response writing, centralized error handling, and the RFC 7807-inspired problem model (§22, §23).
|
Package runtime provides the minimal reusable abstractions that goboot's generated HTTP code depends on: request binding, validation, response writing, centralized error handling, and the RFC 7807-inspired problem model (§22, §23). |
|
config
Package config loads typed configuration properties from layered sources — defaults, YAML files, and environment variables — following the precedence of §28.2.
|
Package config loads typed configuration properties from layered sources — defaults, YAML files, and environment variables — following the precedence of §28.2. |
|
db
Package db defines the driver-neutral database abstractions that generated repositories depend on (§27).
|
Package db defines the driver-neutral database abstractions that generated repositories depend on (§27). |
|
Package sqlgen compiles named-parameter SQL into driver-specific positional SQL (§27.4).
|
Package sqlgen compiles named-parameter SQL into driver-specific positional SQL (§27.4). |
Click to show internal directories.
Click to hide internal directories.