MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / String

Method String

pkg/util/uuid/uuid.go:164–168  ·  view source on GitHub ↗

String returns a canonical RFC-4122 string representation of the UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

()

Source from the content-addressed store, hash-verified

162// String returns a canonical RFC-4122 string representation of the UUID:
163// xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
164func (u UUID) String() string {
165 buf := make([]byte, RFC4122StrSize)
166 u.StringBytes(buf)
167 return string(buf)
168}
169
170// StringBytes writes the result of String directly into a buffer, which must
171// have a length of at least 36.

Callers 4

PrettyPrintValueEncodedFunction · 0.95
ValueMethod · 0.95
MarshalJSONMethod · 0.95
MarshalTextMethod · 0.95

Calls 1

StringBytesMethod · 0.95

Tested by

no test coverage detected