IsValid returns true if the identifier is non-zero.
()
| 23 | |
| 24 | // IsValid returns true if the identifier is non-zero. |
| 25 | func (i SHA) IsValid() bool { return id.ID(i).IsValid() } |
| 26 | |
| 27 | // Parse parses the identifier string. |
| 28 | func (i *SHA) Parse(str string) error { return ((*id.ID)(i)).Parse(str) } |