Documentation
¶
Overview ¶
Package parser builds the IR from Go source via go/packages and go/types. It is transport-neutral: it knows the generic "service" directive and method shape, but nothing about HTTP. Emitters interpret their own directives later.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// KnownDirectives are directive names emitters recognize (e.g. "route").
// Any framework:* directive that is neither "service" nor in this set is a
// hard error (SPEC.md D15).
KnownDirectives []string
}
Options carries emitter-contributed knowledge into the transport-neutral parser.
Click to show internal directories.
Click to hide internal directories.