Help us shape the future of Go! Take the 2026 Go Developer Survey

generate

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command generate emits every generated file in the module from the pinned inputs (srcdata/, internal/reference/kwlist.h, ast/pg_query.pb.go). It is the PostgreSQL-upgrade story: advance the pin, re-vendor, re-run.

Modes (default: -aliases -keywords, the pure-Go ones):

-proto      regenerate ast/pg_query.pb.go from srcdata/pg_query.proto
            (requires protoc and protoc-gen-go on PATH)
-aliases    regenerate aliases.go (root package aliases into ast/)
-keywords   regenerate internal/lexer/keywords.go from kwlist.h

Jump to

Keyboard shortcuts

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