config: each waf setting's code in one place (closes #449)
check / check (push) Successful in 4m40s
check / check (push) Successful in 4m40s
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:
1 parent
dcfdd12c51
commit
3669abe761
1 file changed
+1621
-1444
+1621
-1444
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user