Directories
¶
| Path | Synopsis |
|---|---|
|
cache
|
|
|
cachetest
Package cachetest provides the conformance suite every types.Cache backend must pass.
|
Package cachetest provides the conformance suite every types.Cache backend must pass. |
|
capacity
Package capacity resolves the per-type entry bound shared by the entry-addressed cache backends, so the configuration is read and validated in one place rather than copied into each of them.
|
Package capacity resolves the per-type entry bound shared by the entry-addressed cache backends, so the configuration is read and validated in one place rather than copied into each of them. |
|
codec
Package codec encodes cache values for the backends that store bytes rather than live objects.
|
Package codec encodes cache values for the backends that store bytes rather than live objects. |
|
freelru
Package freelru is a sharded LRU cache that stores live values.
|
Package freelru is a sharded LRU cache that stores live values. |
|
otter
Package otter is a W-TinyLFU cache.
|
Package otter is a W-TinyLFU cache. |
|
registry
Package registry provides the shared per-type singleton store used by the in-memory cache backends.
|
Package registry provides the shared per-type singleton store used by the in-memory cache backends. |
|
ristretto
Package ristretto is a TinyLFU-admission cache.
|
Package ristretto is a TinyLFU-admission cache. |
|
tracing
Package tracing wraps cache backends that talk to remote systems with OpenTelemetry spans.
|
Package tracing wraps cache backends that talk to remote systems with OpenTelemetry spans. |
|
ast
Package codegenast provides AST helpers for codegen; the name avoids conflicting with the standard library "go/ast" package.
|
Package codegenast provides AST helpers for codegen; the name avoids conflicting with the standard library "go/ast" package. |
|
cmd/apidocgen
command
Command apidocgen regenerates the apidoc registration file of the framework package that ships struct doc comments to the OpenAPI generator.
|
Command apidocgen regenerates the apidoc registration file of the framework package that ships struct doc comments to the OpenAPI generator. |
|
Package controller contains framework-owned HTTP handlers for registered routes.
|
Package controller contains framework-owned HTTP handlers for registered routes. |
|
Package errorstack extracts stack traces embedded in errors, shared by tracing and logging so both report the same error origin stack format.
|
Package errorstack extracts stack traces embedded in errors, shared by tracing and logging so both report the same error origin stack format. |
|
Package ggconfig loads the project-level gst configuration file (gst.yaml) that gg commands consume at build time.
|
Package ggconfig loads the project-level gst configuration file (gst.yaml) that gg commands consume at build time. |
|
Package ggmodule implements the behavior behind the gg module command family: discovering framework modules (list), registering a module import in the project's module/module.go (add, remove), and materializing a module into the project as project-owned source (copy).
|
Package ggmodule implements the behavior behind the gg module command family: discovering framework modules (list), registering a module import in the project's module/module.go (add, remove), and materializing a module into the project as project-owned source (copy). |
|
Package hookoverride tells whether a type overrides a method beyond the framework base it embeds, reading the answer off the compiled binary.
|
Package hookoverride tells whether a type overrides a method beyond the framework base it embeds, reading the answer off the compiled binary. |
|
model
|
|
|
Package modelregistry contains the internal model infrastructure behind the public model package.
|
Package modelregistry contains the internal model infrastructure behind the public model package. |
|
Package modelschema resolves the database columns of a model struct.
|
Package modelschema resolves the database columns of a model struct. |
|
service
|
|
|
Package serviceregistry owns the framework-internal service registry used by controllers and modules.
|
Package serviceregistry owns the framework-internal service registry used by controllers and modules. |
|
Package sse implements Server-Sent Events (SSE) for the framework.
|
Package sse implements Server-Sent Events (SSE) for the framework. |
|
Package structdoc parses Go source code and extracts the doc comments of exported struct declarations and their exported fields.
|
Package structdoc parses Go source code and extracts the doc comments of exported struct declarations and their exported fields. |
|
oteltest
Package oteltest turns real OpenTelemetry tracing on inside one framework test and reads back the spans it exports.
|
Package oteltest turns real OpenTelemetry tracing on inside one framework test and reads back the spans it exports. |
|
Package urlquery translates URL query parameters into the arguments the database layer builds a query from.
|
Package urlquery translates URL query parameters into the arguments the database layer builds a query from. |
Click to show internal directories.
Click to hide internal directories.