1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-09 19:32:24 +08:00

refactor(namesys) move proto to internal pb package

This commit is contained in:
Brian Tiger Chow
2014-10-22 04:17:20 -07:00
parent a817531653
commit 488515c207
4 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,7 @@ import (
mh "github.com/jbenet/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-multihash"
ci "github.com/jbenet/go-ipfs/crypto"
pb "github.com/jbenet/go-ipfs/namesys/internal/pb"
routing "github.com/jbenet/go-ipfs/routing"
u "github.com/jbenet/go-ipfs/util"
)
@ -54,7 +55,7 @@ func (r *routingResolver) Resolve(name string) (string, error) {
return "", err
}
entry := new(IpnsEntry)
entry := new(pb.IpnsEntry)
err = proto.Unmarshal(val, entry)
if err != nil {
return "", err