mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-07 09:55:29 +08:00
699 B
699 B
Refactor Line Gate
Rules
- Backend production files upper bound:
<= 300lines. - Frontend (
webui/) production files upper bound:<= 500lines. - Entry/facade files upper bound:
<= 120lines. - Scope is limited to target files in
plans/refactor-line-gate-targets.txt. - Test files are out of scope for this gate.
Command
./tests/scripts/check-refactor-line-gate.sh
Naming Note
- Original split plan used
internal/admin/handler_accounts_test.gofor account probing logic. - In Go,
*_test.gofiles are test-only compilation units and cannot host production handlers. - The production file is implemented as
internal/admin/handler_accounts_testing.go.