We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d13e26 commit a40d3b2Copy full SHA for a40d3b2
internal/bind/params.go
@@ -29,10 +29,10 @@ var (
29
// explicit UUID 2566760 462.1 ns/op 32 B/op 2 allocs/op
30
// asUUID 2103366 595.9 ns/op 48 B/op 3 allocs/op
31
func asUUID(v interface{}) (value.Value, bool) {
32
+ // explicit casting of type [16]byte to uuid.UUID will success,
33
+ // but casting of [16]byte to some interface with methods from uuid.UUID will failed
34
if _, ok := v.(interface {
35
URN() string
- ClockSequence() int
- ID() uint32
36
}); !ok {
37
return nil, false
38
}
0 commit comments