Commit be95ea80 authored by Steven Allen's avatar Steven Allen

switch to google's uuid library

parent 2dc06227
......@@ -7,7 +7,7 @@ import (
dsq "github.com/ipfs/go-datastore/query"
"github.com/satori/go.uuid"
"github.com/google/uuid"
)
/*
......@@ -254,7 +254,7 @@ func (k *Key) UnmarshalJSON(data []byte) error {
// RandomKey()
// NewKey("/f98719ea086343f7b71f32ea9d9d521d")
func RandomKey() Key {
return NewKey(strings.Replace(uuid.Must(uuid.NewV4()).String(), "-", "", -1))
return NewKey(strings.Replace(uuid.New().String(), "-", "", -1))
}
/*
......
......@@ -7,12 +7,6 @@
"dvcsimport": "github.com/ipfs/go-datastore"
},
"gxDependencies": [
{
"author": "satori",
"hash": "QmcBWojPoNh4qm7zvv4qiepvCnnc7ALS9qcp7TNwwxT1gT",
"name": "go.uuid",
"version": "1.1.0"
},
{
"author": "whyrusleeping",
"hash": "QmSF8fPo3jgVBAy8fpdjjYqgG87dkJgUprRBHRd2tmfgpP",
......@@ -30,6 +24,12 @@
"hash": "QmRJVNatYJwTAHgdSM1Xef9QVQ1Ch3XHdmcrykjP5Y4soL",
"name": "go-ipfs-delay",
"version": "0.0.1"
},
{
"author": "google",
"hash": "QmSSeQqc5QeuefkaM6JFV5tSF9knLUkXKVhW1eYRiqe72W",
"name": "uuid",
"version": "0.1.0"
}
],
"gxVersion": "0.7.0",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment