fix(lint): clear the two findings left by #69 and #70 (#72)

- observation_update_test.go (#69) lacked the fts5 build tag its helper
  (testObservationStore, in observation_store_test.go) has, so `go vet ./...`
  without tags failed with "undefined: testObservationStore".
- Client.knn (#70) concatenates its WHERE clause into the query. The clause is
  built only from constant text with "?" placeholders (see nearest) and every
  value goes through args, so gosec's G202 is a false positive; annotate it the
  way the file already annotates G201.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
Holger Reinhardt
2026-10-06 20:32:14 +01:00
committed by GitHub
co-authored by Claude Sonnet 5.5
parent fbe938fef2
commit 8c2c69582a
2 changed files with 3 additions and 0 deletions
@@ -1,3 +1,5 @@
//go:build fts5
package gorm
import (