Expand description
Shared helpers for Go driver generators.
database/sql and pgx emit identical row structs, result structs, scan-fields, function signatures, and SQL constant helpers. Only the client (DBTX interface) and the query-function body differ (database/sql uses ExecContext/QueryRowContext; pgx uses pgconn.CommandTag and pgx.Rows). Those stay per-driver; this module owns the shared surface.
Re-exports§
pub use codegen::escape_sql;pub use codegen::func_params;pub use codegen::generate_result_struct;pub use codegen::generate_row_struct;pub use codegen::query_args;pub use codegen::scan_fields;pub use naming::lcfirst;pub use naming::sql_const_name;