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