Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
main
command
Command main is unison's entrypoint.
|
Command main is unison's entrypoint. |
|
internal
|
|
|
cli
Package cli wires unison's command-line interface together.
|
Package cli wires unison's command-line interface together. |
|
cli/pluginenv
Package pluginenv names the environment unison's two modes share.
|
Package pluginenv names the environment unison's two modes share. |
|
containers
Package containers is the shared lifecycle for unison's container-backed tests: the gate that keeps a bare `go test` from needing a Docker daemon, the retry policies that absorb a cold start, and one Run that owns a container so a test body only has to say what to do with a live database.
|
Package containers is the shared lifecycle for unison's container-backed tests: the gate that keeps a bare `go test` from needing a Docker daemon, the retry policies that absorb a cold start, and one Run that owns a container so a test body only has to say what to do with a live database. |
|
containers/mysqltest
Package mysqltest runs a test body against a real MySQL server.
|
Package mysqltest runs a test body against a real MySQL server. |
|
containers/pgtest
Package pgtest runs a test body against a real PostgreSQL server.
|
Package pgtest runs a test body against a real PostgreSQL server. |
|
converge
Package converge turns one dialect's sqlc analysis into unison's IR.
|
Package converge turns one dialect's sqlc analysis into unison's IR. |
|
emit/gogen
Package gogen renders unison's IR as Go source.
|
Package gogen renders unison's IR as Go source. |
|
execution
Package execution runs the generated package against real database servers.
|
Package execution runs the generated package against real database servers. |
|
generate
Package generate is the plugin's entry point: one dialect's analysis in, the files sqlc should write out.
|
Package generate is the plugin's entry point: one dialect's analysis in, the files sqlc should write out. |
|
ir
Package ir is unison's language-neutral intermediate representation.
|
Package ir is unison's language-neutral intermediate representation. |
|
options
Package options carries the settings a consumer writes in unison.yaml through to the plugin.
|
Package options carries the settings a consumer writes in unison.yaml through to the plugin. |
|
orchestrator
Package orchestrator is `unison generate` and `unison check`: it reads unison.yaml, renders a sqlc config per dialect, and runs the pinned sqlc.
|
Package orchestrator is `unison generate` and `unison check`: it reads unison.yaml, renders a sqlc config per dialect, and runs the pinned sqlc. |
|
protocol
Package protocol carries sqlc's codegen plugin wire format across this module's boundary and no further.
|
Package protocol carries sqlc's codegen plugin wire format across this module's boundary and no further. |
|
sqlcdriver
Package sqlcdriver runs the pinned sqlc.
|
Package sqlcdriver runs the pinned sqlc. |
|
Package version exposes build metadata about the compiled binary.
|
Package version exposes build metadata about the compiled binary. |
Click to show internal directories.
Click to hide internal directories.