I am attempting to generate the stubs for the Node interface but I get a not an interface: blocks.Block:
import (
blocks "github.com/ipfs/go-block-format"
)
type Node interface {
blocks.Block
Resolver
// snipped for brevity
}
From the blocks package:
// Block provides abstraction for blocks implementations.
type Block interface {
RawData() []byte
Cid() *cid.Cid
String() string
Loggable() map[string]interface{}
}
I am attempting to generate the stubs for the
Nodeinterface but I get anot an interface: blocks.Block:From the blocks package: