Fix failed to to cannot

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-10-29 19:28:02 +01:00
parent 2766f8e423
commit 6f2bd9c92f
39 changed files with 198 additions and 192 deletions

View File

@@ -41,7 +41,7 @@ func (dc *DocumentClassification) Scan(value interface{}) error {
case []byte:
sv = string(v)
default:
return fmt.Errorf("failed to scan DocumentClassification: expected string or []byte, got %T", value)
return fmt.Errorf("cannot scan DocumentClassification: expected string or []byte, got %T", value)
}
*dc = DocumentClassification(sv)