Value satisfies the driver.Valuer interface
()
| 85 | |
| 86 | // Value satisfies the driver.Valuer interface |
| 87 | func (h Hash) Value() (driver.Value, error) { |
| 88 | return h.Bytes(), nil |
| 89 | } |
| 90 | |
| 91 | // Scan satisfies the driver.Scanner interface |
| 92 | func (h *Hash) Scan(v interface{}) error { |