Directories
¶
| Path | Synopsis |
|---|---|
|
Command quark is the Quark ORM CLI: model scaffolding, migrations, seeders, multi-tenancy helpers, and code generation.
|
Command quark is the Quark ORM CLI: model scaffolding, migrations, seeders, multi-tenancy helpers, and code generation. |
|
internal/codegen
Package codegen implements `quark gen`: it parses a user's package with go/packages + go/types (not reflection, so the tool can be `go install`ed and driven from //go:generate) and emits, per package, a quark_gen.go that registers typed implementations with the runtime registry in package quark.
|
Package codegen implements `quark gen`: it parses a user's package with go/packages + go/types (not reflection, so the tool can be `go install`ed and driven from //go:generate) and emits, per package, a quark_gen.go that registers typed implementations with the runtime registry in package quark. |
|
internal/codegen/sample
Package sample holds a representative model used by the codegen tests: the conformance test loads it via go/packages (AST) and via reflection, and the golden test regenerates its quark_gen.go and compares.
|
Package sample holds a representative model used by the codegen tests: the conformance test loads it via go/packages (AST) and via reflection, and the golden test regenerates its quark_gen.go and compares. |
Click to show internal directories.
Click to hide internal directories.