~bigbes/lethe: 1818fac3

project: drop unreachable rawHosts/rawTools fields on Project

The struct literal carried two unexported fields with
db:"raw_hosts" / db:"raw_tools" tags, but the actual scan
target is the local rawRow struct in List() that does the
GROUP_CONCAT split + dedupe before assigning Hosts/Tools.
sqlx silently ignores the unexported fields, so they never
held any data; they just confused the next reader of the
type definition.

Eugene Blikh <bigbes@gmail.com> — 2026-04-26 06:01:03 UTC

Commit 1818fac37d6418d347f1129fa97704b63096b8a9view raw patch

Parent(s): 3fbbfc89

1 changed file(s)

FileStatus+
internal/domain/project/repository.go M -5