Name only the checker the keyword answers to, and file the Error near miss
Tests / vet + fmt + tests (pull_request) Successful in 1m26s
Tests / Gitea release from CHANGELOG.md (pull_request) Has been skipped

This commit is contained in:
2026-09-20 21:26:54 +02:00
parent e09e92ff03
commit ea9c1ad436
3 changed files with 8 additions and 7 deletions
+3 -2
View File
@@ -110,8 +110,9 @@ by a `data-import/` script, as README goal 10 asks.
`misc.httpmethod[get]` and `misc.territory[se]` all answer "no row … has key or name"
and stop there, where a case-insensitive match could name the row that exists, and a
table with no `name` column could say it selects by key alone. `misc.tld[se]` misses
on the leading dot its keys carry rather than on case, so the near miss is worth
naming whatever shape it takes.
on the leading dot its keys carry rather than on case, and `misc.loglevel[Error]`
although the table carries `Error` in a column, so the near miss is worth naming
whatever shape it takes.
- Let a table column carry a `datatype`, so `--format json` writes
`"safe": true` and `--format sql` a boolean rather than the text `'true'`. Today only
a JSON field takes one, so `misc.httpmethod`'s booleans are typed in Go and text