decodeHashLike decodes UUID strings that are using the following format: "6ba7b8109dad11d180b400c04fd430c8".
(t []byte)
| 168 | // |
| 169 | // "6ba7b8109dad11d180b400c04fd430c8". |
| 170 | func (u *UUID) decodeHashLike(t []byte) error { |
| 171 | src := t[:] |
| 172 | dst := u[:] |
| 173 | |
| 174 | _, err := hex.Decode(dst, src) |
| 175 | return err |
| 176 | } |
| 177 | |
| 178 | // decodeBraced decodes UUID strings that are using the following formats: |
| 179 | // |
no outgoing calls
no test coverage detected