chgen

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command chgen generates type-safe Go code from ClickHouse SQL queries.

It is pggen's sibling: same query file format, same pragmas, same generated shape, pointed at ClickHouse instead of Postgres. The two are separate binaries rather than one with a flag because they target different databases, different drivers, and different query syntax for parameters.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL