Compare commits

..

2 Commits

Author SHA1 Message Date
Jeromy
0f69fedd3a gx publish 0.5.0 2016-09-27 06:14:57 -07:00
Jeromy
595cace68a make cid's loggable 2016-09-27 06:14:46 -07:00
3 changed files with 8 additions and 2 deletions

View File

@@ -1 +1 @@
0.3.0: QmfAjb1QYA9SS9TLVJBRZXEVriGaGrRZ3vJSajhLa52aYg
0.5.0: QmcW7CcRA5kMdqNBRpif7e8y9yvVRmJG1uurMvea8TY2SM

6
cid.go
View File

@@ -168,3 +168,9 @@ func (c *Cid) MarshalJSON() ([]byte, error) {
func (c *Cid) KeyString() string {
return string(c.Bytes())
}
func (c *Cid) Loggable() map[string]interface{} {
return map[string]interface{}{
"cid": c,
}
}

View File

@@ -25,6 +25,6 @@
"license": "",
"name": "go-cid",
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
"version": "0.3.0"
"version": "0.5.0"
}