Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
167239b405 | ||
|
|
8522370eab |
@@ -1 +1 @@
|
||||
0.0.0: QmWzxM6XsNv1GoLs4dpQBay2NdMSWXRTFKmZwSHcsxg8ys
|
||||
0.3.0: QmfAjb1QYA9SS9TLVJBRZXEVriGaGrRZ3vJSajhLa52aYg
|
||||
|
||||
4
cid.go
4
cid.go
@@ -164,3 +164,7 @@ func (c *Cid) UnmarshalJSON(b []byte) error {
|
||||
func (c *Cid) MarshalJSON() ([]byte, error) {
|
||||
return []byte(fmt.Sprintf("\"%s\"", c.String())), nil
|
||||
}
|
||||
|
||||
func (c *Cid) KeyString() string {
|
||||
return string(c.Bytes())
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"author": "whyrusleeping",
|
||||
"bugs": {
|
||||
"url": "https://github.com/multiformats/go-cid"
|
||||
"url": "https://github.com/ipfs/go-cid"
|
||||
},
|
||||
"gx": {
|
||||
"dvcsimport": "github.com/multiformats/go-cid"
|
||||
"dvcsimport": "github.com/ipfs/go-cid"
|
||||
},
|
||||
"gxDependencies": [
|
||||
{
|
||||
@@ -24,5 +24,7 @@
|
||||
"language": "go",
|
||||
"license": "",
|
||||
"name": "go-cid",
|
||||
"version": "0.0.0"
|
||||
"releaseCmd": "git commit -a -m \"gx publish $VERSION\"",
|
||||
"version": "0.3.0"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user