Value implements the driver.Valuer interface.
()
| 25 | |
| 26 | // Value implements the driver.Valuer interface. |
| 27 | func (u UUID) Value() (driver.Value, error) { |
| 28 | return u.String(), nil |
| 29 | } |
| 30 | |
| 31 | // Scan implements the sql.Scanner interface. |
| 32 | // A 16-byte slice will be handled by UnmarshalBinary, while |