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.
This commit is contained in:
Roger authored and GitHub committed 2026-11-02 00:03:03 +08:00
1 parent 4e98ba7884
commit 0ed920f846
130 files changed
+201 -869

No files matched your search

-2
View File
@@ -10,7 +10,6 @@ import (
)
func TestEachRow(t *testing.T) {
// Create a temp SQLite database
dir := t.TempDir()
dbPath := filepath.Join(dir, "test.db")
@@ -23,7 +22,6 @@ func TestEachRow(t *testing.T) {
require.NoError(t, err)
require.NoError(t, db.Close())
// Query using our helper
var names []string
err = eachRow(dbPath, false, "SELECT name FROM items ORDER BY id", func(rows *sql.Rows) error {
var name string