Documentation
¶
Overview ¶
Package generate orchestrates the full gota pipeline: load packages, run router plugins to find routes, extract "gota:" comment blocks, infer defaults, merge the two, and hand the result to the emitter.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Router ¶ added in v0.2.0
Router pairs a router plugin (which framework's route registrations to extract) with the inference dialect recognizing that framework's request/response idioms inside handler bodies. The two are separate axes on purpose: a future Chi plugin pairs with inference.NetHTTP() unchanged (Chi handlers are plain net/http), while a Gin plugin brings its own dialect. A nil Dialect disables body inference for that plugin's routes — they're still documented from the route and any "gota:" comment.