Renamed BlockDigest's ToString() to String() to implement fmt.Stringer() interface...
[arvados.git] / sdk / go / blockdigest / blockdigest.go
index 0742839720c764788ccae6e505d37640e91655e8..9b818d365303ac6805c15be534400a0c3c854448 100644 (file)
@@ -15,7 +15,7 @@ type BlockDigest struct {
        l uint64
 }
 
-func (d *BlockDigest) ToString() (s string) {
+func (d BlockDigest) String() string {
        return fmt.Sprintf("%016x%016x", d.h, d.l)
 }