diff --git a/cid-fmt/main.go b/cid-fmt/main.go index 20f9d1f5b015a280129a1461b70ad6ff6951d4e9..ba13fb0f696b3bfdfbdb9da87266b718a16e98b9 100644 --- a/cid-fmt/main.go +++ b/cid-fmt/main.go @@ -7,10 +7,10 @@ import ( "os" "strings" - cidutil "gitlab.dms3.io/dms3/public/go-cidutil" + cidutil "gitlab.dms3.io/dms3/go-cidutil" mb "github.com/multiformats/go-multibase" - c "gitlab.dms3.io/dms3/public/go-cid" + c "gitlab.dms3.io/dms3/go-cid" ) func usage() { diff --git a/cid-fmt/main_test.go b/cid-fmt/main_test.go index 33aebed8f05e6bd8087eac6969bd2ec1da537dcc..6ca391f3647afcf27f8757237beff585295db302 100644 --- a/cid-fmt/main_test.go +++ b/cid-fmt/main_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - c "gitlab.dms3.io/dms3/public/go-cid" + c "gitlab.dms3.io/dms3/go-cid" ) func TestCidConv(t *testing.T) { diff --git a/cidenc/encoder.go b/cidenc/encoder.go index 49d4155262fa15c9fd192652ab2c983692f6f963..a81932806cb3b49d1a740e15d06a9141a856510b 100644 --- a/cidenc/encoder.go +++ b/cidenc/encoder.go @@ -2,7 +2,7 @@ package cidenc import ( mbase "github.com/multiformats/go-multibase" - cid "gitlab.dms3.io/dms3/public/go-cid" + cid "gitlab.dms3.io/dms3/go-cid" ) // Encoder is a basic Encoder that will encode CIDs using a specified diff --git a/cidenc/encoder_test.go b/cidenc/encoder_test.go index 199f4028f0d36abc43ffed47c056cdab267d4577..ab09d8d742175ae6a24625174bce84bd9445ac44 100644 --- a/cidenc/encoder_test.go +++ b/cidenc/encoder_test.go @@ -4,7 +4,7 @@ import ( "testing" mbase "github.com/multiformats/go-multibase" - cid "gitlab.dms3.io/dms3/public/go-cid" + cid "gitlab.dms3.io/dms3/go-cid" ) func TestCidEncoder(t *testing.T) { diff --git a/format.go b/format.go index 7cb6db318cab97428f1da14270e489bb3baf7521..7d0da837566a623b20e17ad338dde062b45e720f 100644 --- a/format.go +++ b/format.go @@ -6,7 +6,7 @@ import ( mb "github.com/multiformats/go-multibase" mh "github.com/multiformats/go-multihash" - c "gitlab.dms3.io/dms3/public/go-cid" + c "gitlab.dms3.io/dms3/go-cid" ) // FormatRef is a string documenting the format string for the Format function diff --git a/format_test.go b/format_test.go index 60121a1405cccc78d533fcf1e11b3381845df18e..38dbb3d6c5417f988b1b2ee924f5930ac44ee313 100644 --- a/format_test.go +++ b/format_test.go @@ -5,7 +5,7 @@ import ( "testing" mb "github.com/multiformats/go-multibase" - c "gitlab.dms3.io/dms3/public/go-cid" + c "gitlab.dms3.io/dms3/go-cid" ) func TestFmt(t *testing.T) { diff --git a/go.mod b/go.mod index ac4f19441aa86c6ff370930a882754a188a91882..ab812ad7052172d197833f8e973121603b581822 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ -module gitlab.dms3.io/dms3/public/go-cidutil +module gitlab.dms3.io/dms3/go-cidutil require ( github.com/multiformats/go-multibase v0.0.3 github.com/multiformats/go-multihash v0.0.14 - gitlab.dms3.io/dms3/public/go-cid v0.0.1 + gitlab.dms3.io/dms3/go-cid v0.0.3 ) go 1.15 diff --git a/go.sum b/go.sum index e82ec1e8cabc4131759a9b230ff91cdff54b68cf..3aa78582e8f8f006cbb1895a3a5226f6be2ff75c 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,8 @@ github.com/multiformats/go-varint v0.0.6 h1:gk85QWKxh3TazbLxED/NlDVv8+q+ReFJk7Y2 github.com/multiformats/go-varint v0.0.6/go.mod h1:3Ls8CIEsrijN6+B7PbrXRPxHRPuXSrVKRY101jdMZYE= github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI= github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -gitlab.dms3.io/dms3/public/go-cid v0.0.1 h1:qs4dtkDigcLGY/58dIZaFjKLt+orrTcmTBvtqaM3570= -gitlab.dms3.io/dms3/public/go-cid v0.0.1/go.mod h1:GQw3gc4CSrFY+aX6M+OBQDlg0p5/eQJoRrayaZzkAOQ= +gitlab.dms3.io/dms3/go-cid v0.0.3 h1:5qZ1sl1Bi26naLz7Vsc8fjWcJKX8bR6njt3WPCteXac= +gitlab.dms3.io/dms3/go-cid v0.0.3/go.mod h1:qT/Q1NZD31UnWQ+rwsQgzGrrsQhpq7dYSlXf7ulDgtk= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8 h1:1wopBVtVdWnn03fZelqdXTqk7U7zPQCb+T4rbU9ZEoU= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= diff --git a/inline.go b/inline.go index 8235863de72ee78790a0b8a2574d0c2782fe0abe..1e319511ccef46c7b2b0825465ac4c4d05ee6049 100644 --- a/inline.go +++ b/inline.go @@ -2,7 +2,7 @@ package cidutil import ( mhash "github.com/multiformats/go-multihash" - cid "gitlab.dms3.io/dms3/public/go-cid" + cid "gitlab.dms3.io/dms3/go-cid" ) // InlineBuilder is a cid.Builder that will use the id multihash when the diff --git a/inline_test.go b/inline_test.go index f32d39438852013dd12aa5a0b49f8df874e434b5..7411a1cfb3fe9632d06b5262191248c6d17887c2 100644 --- a/inline_test.go +++ b/inline_test.go @@ -5,7 +5,7 @@ import ( "testing" mhash "github.com/multiformats/go-multihash" - cid "gitlab.dms3.io/dms3/public/go-cid" + cid "gitlab.dms3.io/dms3/go-cid" ) func TestInlineBuilderSmallValue(t *testing.T) { diff --git a/set.go b/set.go index 6af836f1d9cfc919f243a03cf0e88efc48626111..3514427be3cd2beb6436afe47749d26ab918906e 100644 --- a/set.go +++ b/set.go @@ -3,7 +3,7 @@ package cidutil import ( "context" - c "gitlab.dms3.io/dms3/public/go-cid" + c "gitlab.dms3.io/dms3/go-cid" ) type Set = c.Set diff --git a/slice.go b/slice.go index 236a5023cfde9c860aba255c3981361e32e1fda1..af15ababbb1cbf15ce88dbc2e49021d7c3c3c1bb 100644 --- a/slice.go +++ b/slice.go @@ -3,7 +3,7 @@ package cidutil import ( "sort" - "gitlab.dms3.io/dms3/public/go-cid" + "gitlab.dms3.io/dms3/go-cid" ) // Slice is a convenience type for sorting CIDs