Update go dependencies
This commit is contained in:
parent
55ccaf4be3
commit
2882fb5ebe
457 changed files with 54614 additions and 19833 deletions
4
vendor/github.com/pborman/uuid/sql.go
generated
vendored
4
vendor/github.com/pborman/uuid/sql.go
generated
vendored
|
|
@ -40,7 +40,9 @@ func (uuid *UUID) Scan(src interface{}) error {
|
|||
// assumes a simple slice of bytes if 16 bytes
|
||||
// otherwise attempts to parse
|
||||
if len(b) == 16 {
|
||||
*uuid = UUID(b)
|
||||
parsed := make([]byte, 16)
|
||||
copy(parsed, b)
|
||||
*uuid = UUID(parsed)
|
||||
} else {
|
||||
u := Parse(string(b))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue