(src []byte, dst any)
| 210 | type scanPlanTextByteaToBytesScanner struct{} |
| 211 | |
| 212 | func (scanPlanTextByteaToBytesScanner) Scan(src []byte, dst any) error { |
| 213 | scanner := (dst).(BytesScanner) |
| 214 | buf, err := decodeHexBytea(src) |
| 215 | if err != nil { |
| 216 | return err |
| 217 | } |
| 218 | return scanner.ScanBytes(buf) |
| 219 | } |
| 220 | |
| 221 | func decodeHexBytea(src []byte) ([]byte, error) { |
| 222 | if src == nil { |
nothing calls this directly
no test coverage detected