feat: add output package with Formatter interface (#537)

* docs: add RFC-004 for CLI (cobra) and output design
* feat: add output package with Formatter interface and BrowserData.Each
* fix: golangci config array syntax + add output package tests
* refactor: encapsulated Output as Writer, collect-then-write pattern
* refactor: unified row type with reflection-based CSV/JSON output
* fix: ProfileName empty guard, writeFile close error check, sync RFC-004
This commit is contained in:
Roger authored and moonD4rk committed 2026-04-04 01:41:02 +08:00
1 parent 1a3aea553e
commit 00ad0e0bd4
16 files changed
+1290 -52

No files matched your search

+3
View File
@@ -69,6 +69,9 @@ linters:
goconst:
min-len: 2
min-occurrences: 3
ignore-string-values:
- "csv"
- "json"
gocritic:
enabled-tags:
- diagnostic