1
0
mirror of https://github.com/google/uuid.git synced 2024-11-28 08:49:08 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Andrew Stone
3694829644 sql: Support nil values 2017-03-03 14:59:38 -08:00
Andrew Stone
c96242ef50 sql: Remove redundant type asserts 2017-03-03 14:58:01 -08:00
Paul Borman
9e951e1b07 Change a UUID from []byte to [16]byte along with other API changes. 2016-02-19 12:30:25 -08:00
David E. Wheeler
5aa6bf02fe De-dupe comment. 2016-02-08 15:47:57 -08:00
David E. Wheeler
26c42f1335 Value() is on UUID, not *UUID. 2016-02-08 15:47:57 -08:00
David E. Wheeler
0384d88412 Add support for driver.Valuer.
It just returns a string, but that should be recognizable by any database that
supports UUIDs, since it's the standard format.
2016-02-08 15:47:57 -08:00
Daniel Souza
6a70b0ec98 altered uuid.Scan() so that it allows for empty UUIDs to be read properly (returning a null UUID value) 2016-01-21 23:52:00 -05:00
Justin Overfelt
d4a682d48d Attempt to scan []byte uuids larger than 16 bytes. Fixes #12 2015-11-18 19:54:10 -05:00
Justin Overfelt
7464a2351d Implement database/sql's Scanner interface. Fixes #5 2015-08-24 16:47:56 -04:00