MCPcopy
hub / github.com/gofrs/uuid / Value

Method Value

sql.go:34–36  ·  view source on GitHub ↗

Value implements the driver.Valuer interface.

()

Source from the content-addressed store, hash-verified

32
33// Value implements the driver.Valuer interface.
34func (u UUID) Value() (driver.Value, error) {
35 return u.String(), nil
36}
37
38// Scan implements the sql.Scanner interface.
39// A 16-byte slice will be handled by UnmarshalBinary, while

Callers 2

ValueMethod · 0.45
testSQLValueFunction · 0.45

Calls 1

StringMethod · 0.95

Tested by 1

testSQLValueFunction · 0.36