MCPcopy
hub / github.com/jackc/pgx / String

Method String

pgtype/uuid.go:100–106  ·  pgtype/uuid.go::UUID.String
()

Source from the content-addressed store, hash-verified

98}
99
100func (src UUID) String() string {
101 if !src.Valid {
102 return ""
103 }
104
105 return encodeUUID(src.Bytes)
106}
107
108// MarshalJSON implements the [encoding/json.Marshaler] interface.
109func (src UUID) MarshalJSON() ([]byte, error) {

Calls 1

encodeUUIDFunction · 0.85