Commit Graph
13 Commits
Author SHA1 Message Date
Roger 2c3ac7f1d2 refactor: drop single-use abstractions, loosen varnamelen (#680)
log.Base had one implementation, the chromium file specs took a dir they never read, and emit was written three times;
varnamelen now lets db, fd, and n stay short as Go readers expect.
2026-11-02 11:19:53 +08:00
Roger 3e9150249c refactor: rename core types and spell out every name (#677)
Def, Request, DirID, and Source said too little, and short variables and doc comments that skip their name hid intent.
varnamelen and staticcheck ST1020-22 now keep both from coming back.
2026-11-02 11:06:05 +08:00
Roger 0ed920f846 docs: trim code comments to the why (#676)
Comments that restated names or narrated the code are gone, and multi-line ones are cut to a line of why.
Only comments change: each edited Go file has the same token stream as before. winapi and abe come later.
2026-11-02 00:03:03 +08:00
Roger 4e98ba7884 fix: report unreadable sources and tidy the pipeline (#675)
A Stat error other than not-exist was reported as absent, and the --zip archive was readable by other users.
The rest is review follow-up: export no longer prints, one runner type, shared name helpers, a trimmed log API.
2026-11-01 23:42:13 +08:00
Roger 9937dbf9fb refactor: move leaf utilities under internal/ (#650)
Phase 1: the packages with no project dependencies move first, so every
later phase builds on finished leaves; the goldens pin the behavior.
2026-10-26 16:41:52 +08:00
moonD4rk b65d3186c4 chore: update project layout 2023-03-10 14:52:26 +08:00
moonD4rk da496cd563 fix: wrong log caller skip level 2023-03-09 19:07:06 +08:00
ᴍᴏᴏɴD4ʀᴋ aa3326f1a3 feat: update to v0.4.0, based by generics 2022-04-18 02:14:32 +08:00
ᴍᴏᴏɴD4ʀᴋ 04e620e54c refactor: output browsing data package 2022-04-18 00:47:39 +08:00
ᴍᴏᴏɴD4ʀᴋ 0dc28a077f refactor: replace util with go generics 2022-04-17 16:42:36 +08:00
ᴍᴏᴏɴD4ʀᴋ c9feef66ab feat: replace log with stdout color 2022-04-17 16:42:36 +08:00
ᴍᴏᴏɴD4ʀᴋ 1d3b7bd214 feat: add command line and log 2022-04-17 16:42:36 +08:00
ᴍᴏᴏɴD4ʀᴋ f8b1de4666 refactor: format project layout 2022-04-17 16:42:36 +08:00