HexString is a reader-friendlier alternative to the protoc-generated String method.
()
| 35 | // HexString is a reader-friendlier alternative to the |
| 36 | // protoc-generated String method. |
| 37 | func (h Hash) HexString() string { |
| 38 | b, _ := h.MarshalText() |
| 39 | return string(b) |
| 40 | } |
| 41 | |
| 42 | // MarshalText satisfies the TextMarshaler interface. |
| 43 | // It returns the bytes of h encoded in hex, |
no test coverage detected