(src []byte, dst any)
| 192 | type scanPlanTextByteaToBytes struct{} |
| 193 | |
| 194 | func (scanPlanTextByteaToBytes) Scan(src []byte, dst any) error { |
| 195 | dstBuf := dst.(*[]byte) |
| 196 | if src == nil { |
| 197 | *dstBuf = nil |
| 198 | return nil |
| 199 | } |
| 200 | |
| 201 | buf, err := decodeHexBytea(src) |
| 202 | if err != nil { |
| 203 | return err |
| 204 | } |
| 205 | *dstBuf = buf |
| 206 | |
| 207 | return nil |
| 208 | } |
| 209 | |
| 210 | type scanPlanTextByteaToBytesScanner struct{} |
| 211 |
nothing calls this directly
no test coverage detected