Skip to content

Commit

Permalink
coreapi: reuse go-ipld-node.Link
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
  • Loading branch information
Lars Gierth committed Oct 31, 2016
1 parent 7ed5c42 commit d968711
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions core/coreapi/interface/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"errors"
"io"

ipld "gx/ipfs/QmU7bFWQ793qmvNy7outdCaMfSDNk8uqhx4VNrxYj5fj5g/go-ipld-node"
cid "gx/ipfs/QmXfiyr2RWEXpVDdaYnD2HNiBk6UBddsvEP4RPfXb6nGqY/go-cid"
)

Expand All @@ -13,11 +14,7 @@ import (
// Version() CoreVersion
// }

type Link struct {
Name string
Size uint64
Cid *cid.Cid
}
type Link ipld.Link

type Reader interface {
io.ReadSeeker
Expand Down

0 comments on commit d968711

Please sign in to comment.