package objectid
import "encoding/hex"
// String returns the canonical hex representation.
func (id ObjectID) String() string {
size := id.Algorithm().Size()
return hex.EncodeToString(id.data[:size])
}
![]() |
index : ~runxiyu/furgit.git | |
| Unnamed repository; edit this file 'description' to name the repository. |
| aboutsummaryrefslogtreecommitdiff |
package objectid
import "encoding/hex"
// String returns the canonical hex representation.
func (id ObjectID) String() string {
size := id.Algorithm().Size()
return hex.EncodeToString(id.data[:size])
}