Documentation
¶
Overview ¶
Package gombit is the root package for the Gombit framework.
Index ¶
Constants ¶
View Source
const ModulePath = "github.com/gombit-dev/gombit"
ModulePath is the canonical Go module path for Gombit.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package admin is Gombit's runtime generic admin (ADMIN-1 through ADMIN-3 / ADR-013).
|
Package admin is Gombit's runtime generic admin (ADMIN-1 through ADMIN-3 / ADR-013). |
|
Package auth is Gombit's runtime Bearer JWT surface (C3 / M5-2).
|
Package auth is Gombit's runtime Bearer JWT surface (C3 / M5-2). |
|
Package build implements `gombit build --embed`: Vite production build, collectstatic into internal/web/static, and `go build` of a single binary that serves API + static + SPA fallback.
|
Package build implements `gombit build --embed`: Vite production build, collectstatic into internal/web/static, and `go build` of a single binary that serves API + static + SPA fallback. |
|
Package cache provides Gombit's backend-neutral cache boundary.
|
Package cache provides Gombit's backend-neutral cache boundary. |
|
Package cli is the Cobra command tree for `gombit` (D13 / ADR-014).
|
Package cli is the Cobra command tree for `gombit` (D13 / ADR-014). |
|
Package client generates a TypeScript API client from an OpenAPI 3.1 document.
|
Package client generates a TypeScript API client from an OpenAPI 3.1 document. |
|
cmd
|
|
|
contract-spike-openapi
command
|
|
|
gombit
command
|
|
|
Package commandgen implements `gombit make command`.
|
Package commandgen implements `gombit make command`. |
|
Package config provides Gombit's typed configuration boundary.
|
Package config provides Gombit's typed configuration boundary. |
|
Package contract defines Gombit's Huma DTO conventions, the D10 success and error envelopes, and draft §41 application error category mapping.
|
Package contract defines Gombit's Huma DTO conventions, the D10 success and error envelopes, and draft §41 application error category mapping. |
|
Package database opens supported GORM SQL drivers and exposes driver metadata.
|
Package database opens supported GORM SQL drivers and exposes driver metadata. |
|
conformance
Package conformance hosts the multi-DB conformance suite.
|
Package conformance hosts the multi-DB conformance suite. |
|
conformance/models
Package models holds GORM fixtures for the multi-DB conformance suite.
|
Package models holds GORM fixtures for the multi-DB conformance suite. |
|
Package dev implements `gombit dev`: one command that runs the Go API (with reload when air or watchexec is available), the Vite frontend with HMR, and live OpenAPI → TypeScript client regeneration.
|
Package dev implements `gombit dev`: one command that runs the Go API (with reload when air or watchexec is available), the Vite frontend with HMR, and live OpenAPI → TypeScript client regeneration. |
|
examples
|
|
|
admin
command
|
|
|
auth
command
|
|
|
auth-cookie
command
|
|
|
cache
command
|
|
|
config
command
|
|
|
contract
command
|
|
|
database
command
|
|
|
embed
command
|
|
|
lifecycle
command
|
|
|
logging
command
|
|
|
migrations
command
|
|
|
router
command
|
|
|
tutorial
command
Command tutorial is the finished application from docs/tutorial.md: one Task resource served through Huma, with cookie auth and the runtime admin.
|
Command tutorial is the finished application from docs/tutorial.md: one Task resource served through Huma, with cookie auth and the runtime admin. |
|
Package framework provides Gombit's runtime application lifecycle and HTTP surfaces (Gin router escape hatch and Huma contract API).
|
Package framework provides Gombit's runtime application lifecycle and HTTP surfaces (Gin router escape hatch and Huma contract API). |
|
Package goldentest is the M4-5 generator golden suite.
|
Package goldentest is the M4-5 generator golden suite. |
|
internal
|
|
|
Package logging builds Gombit's Zap logger and supports external sinks.
|
Package logging builds Gombit's Zap logger and supports external sinks. |
|
Package migrations wraps Atlas versioned migrations for Gombit apps.
|
Package migrations wraps Atlas versioned migrations for Gombit apps. |
|
Package resourcegen implements `gombit make resource`.
|
Package resourcegen implements `gombit make resource`. |
|
Package scaffold generates a new Gombit application (gombit new).
|
Package scaffold generates a new Gombit application (gombit new). |
Click to show internal directories.
Click to hide internal directories.