packagemerkledagimport("fmt"ipld"gx/ipfs/Qme5bWv7wtjUNGsK2BNGVUFPKiuxWrsqrtvYwCLRw8YFES/go-ipld-format")varErrReadOnly=fmt.Errorf("cannot write to readonly DAGService")funcNewReadOnlyDagService(ngipld.NodeGetter)ipld.DAGService{return&ComboService{Read:ng,Write:&ErrorService{ErrReadOnly},}}