mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-05 00:45:29 +08:00
629 B
629 B
Refactor Line Gate
Rules
- Production file default upper bound:
<= 300lines. - 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.