internal/

directory
v0.3.18 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MIT

Directories

Path Synopsis
Package schemadoc extracts the config schema descriptions from the config package's doc comments, the way schemars reads Rust doc comments: a type's description is its doc after the first paragraph (the Go sentence naming the type, which revive requires), a field's is its whole doc, and an enum variant's is its constant's doc.
Package schemadoc extracts the config schema descriptions from the config package's doc comments, the way schemars reads Rust doc comments: a type's description is its doc after the first paragraph (the Go sentence naming the type, which revive requires), a field's is its whole doc, and an enum variant's is its constant's doc.
cmd command
Command schemadoc regenerates config/schemadoc_gen.go; run it through `go generate ./config`.
Command schemadoc regenerates config/schemadoc_gen.go; run it through `go generate ./config`.

Jump to

Keyboard shortcuts

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