...
 
Commits (3)
    https://gitlab.dms3.io/dms3/go-block-format/-/commit/a387b60233834a5e18885db81f6c3ad3b017f4b4 use go-cid v0.0.2 2021-08-14T09:05:57-04:00 tavit ohanian tavit@dms3.io https://gitlab.dms3.io/dms3/go-block-format/-/commit/03c45d7e439f868399ac724b37da9101a34ffa3f refactor after forking multiformats 2021-08-21T06:05:37-04:00 tavit ohanian tavit@dms3.io https://gitlab.dms3.io/dms3/go-block-format/-/commit/e6861153ede2323057c959ac1b85872113364553 Merge branch 'port-2021-04-19' 2021-08-21T06:07:58-04:00 tavit ohanian tavit@dms3.io
// Package blocks contains the lowest level of DMS3LD data structures.
// Package blocks contains the lowest level of LD data structures.
// A block is raw data accompanied by a CID. The CID contains the multihash
// corresponding to the block.
package blocks
......@@ -8,8 +8,8 @@ import (
"fmt"
mh "github.com/multiformats/go-multihash"
cid "gitlab.dms3.io/dms3/public/go-cid"
u "gitlab.dms3.io/dms3/public/go-dms3-util"
cid "gitlab.dms3.io/dms3/go-cid"
u "gitlab.dms3.io/dms3/go-dms3-util"
)
// ErrWrongHash is returned when the Cid of a block is not the expected
......
......@@ -5,8 +5,8 @@ import (
"testing"
mh "github.com/multiformats/go-multihash"
cid "gitlab.dms3.io/dms3/public/go-cid"
u "gitlab.dms3.io/dms3/public/go-dms3-util"
cid "gitlab.dms3.io/dms3/go-cid"
u "gitlab.dms3.io/dms3/go-dms3-util"
)
func TestBlocksBasic(t *testing.T) {
......
module gitlab.dms3.io/dms3/public/go-block-format
module gitlab.dms3.io/dms3/go-block-format
go 1.15
require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/multiformats/go-multihash v0.0.14
github.com/neelance/parallel v0.0.0-20160708114440-4de9ce63d14c // indirect
github.com/opentracing/basictracer-go v1.1.0 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/prometheus/common v0.28.0 // indirect
github.com/slimsag/godocmd v0.0.0-20161025000126-a1005ad29fe3 // indirect
github.com/sourcegraph/ctxvfs v0.0.0-20180418081416-2b65f1b1ea81 // indirect
github.com/sourcegraph/go-langserver v2.0.0+incompatible // indirect
github.com/sourcegraph/jsonrpc2 v0.1.0 // indirect
gitlab.dms3.io/dms3/public/go-cid v0.0.1
gitlab.dms3.io/dms3/public/go-dms3-util v0.0.1
gitlab.dms3.io/dms3/go-cid v0.0.3
gitlab.dms3.io/dms3/go-dms3-util v0.0.2
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
golang.org/x/sys v0.0.0-20210608053332-aa57babbf139 // indirect
golang.org/x/tools v0.1.2 // indirect
)
This diff is collapsed.