Fix failed to to cannot
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user