MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Short

Method Short

pkg/util/uuid/uuid_wrapper.go:25–27  ·  view source on GitHub ↗

Short returns the first eight characters of the output of String().

()

Source from the content-addressed store, hash-verified

23
24// Short returns the first eight characters of the output of String().
25func (u UUID) Short() string {
26 return u.String()[:8]
27}
28
29// ShortStringer implements fmt.Stringer to output Short() on String().
30type ShortStringer UUID

Callers 1

StringMethod · 0.80

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected