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 was merged in pull request #479.
This commit is contained in:
clawbot committed 2026-11-20 01:44:08 +01:00
1 parent cc77435f2a
commit 9afbd1b683
1 file changed
+1621 -1444
+1621 -1444
View File
File diff suppressed because it is too large. Load diff