Documentation
¶
Overview ¶
Package enum_docs exercises scanCtx.findEnumValue description building on const blocks that carry per-value doc comments and multi-name value specs so both the docs loop and the names separator are walked.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel string
Channel is an enum with a multi-name value spec so that findEnumValue walks the separator branch in its names loop.
swagger:enum Channel
type Notification ¶
type Notification struct {
// required: true
ID int64 `json:"id"`
// The priority level.
Priority Priority `json:"priority"`
// The delivery channel.
Channel Channel `json:"channel"`
}
Notification holds both enums so that the scanner emits schemas with the enriched descriptions produced by findEnumValue.
swagger:model Notification
Click to show internal directories.
Click to hide internal directories.