config: each waf setting's code in one place (closes #449)
check / check (push) Waiting to run

internal/config/waf.go is reordered by setting, in the order of the
settings sections of SPEC and docs/settings.md. The struct WAF and
WAFFromEnvironment stay first. Each setting's reader, parser, errors
and check sit together. A helper several settings share sits before
the first of them.

Moves only. The one error block and the one block of constants are
split into a block beside each user, so gofmt re-aligns the = of some
of those lines.

Model: opus-5-5
This commit is contained in:
sneak committed 2026-11-20 00:17:29 +00:00
1 parent dcfdd12c51
commit 3669abe761
1 file changed
+1621 -1444
+1621 -1444
View File
File diff suppressed because it is too large. Load diff