From 1e68bf5ed5ebc99680c3b3adcec0f402b1301512 Mon Sep 17 00:00:00 2001 From: Artem Date: Tue, 25 Jul 2023 13:30:22 +0200 Subject: [PATCH] Fix: package --- data.go | 2 +- errors.go | 2 +- functions.go | 2 +- functions_test.go | 2 +- go.mod | 4 ++-- go.sum | 8 ++++---- node.go | 2 +- pool.go | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/data.go b/data.go index 35a466c..ff7f587 100644 --- a/data.go +++ b/data.go @@ -1,4 +1,4 @@ -package main +package ipfs // Data - type Data struct { diff --git a/errors.go b/errors.go index bb89bc1..69158d6 100644 --- a/errors.go +++ b/errors.go @@ -1,4 +1,4 @@ -package main +package ipfs import "errors" diff --git a/functions.go b/functions.go index 243b713..8caa661 100644 --- a/functions.go +++ b/functions.go @@ -1,4 +1,4 @@ -package main +package ipfs import ( "fmt" diff --git a/functions_test.go b/functions_test.go index ce02e8e..4d19800 100644 --- a/functions_test.go +++ b/functions_test.go @@ -1,4 +1,4 @@ -package main +package ipfs import "testing" diff --git a/go.mod b/go.mod index 321cc95..f850ed6 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,9 @@ module github.com/dipdup-io/ipfs-tools go 1.20 require ( - github.com/ipfs/boxo v0.10.1 + github.com/ipfs/boxo v0.10.2-0.20230629143123-2d3edc552442 github.com/ipfs/go-cid v0.4.1 - github.com/ipfs/kubo v0.21.0-rc3 + github.com/ipfs/kubo v0.21.0 github.com/libp2p/go-libp2p v0.29.0 github.com/multiformats/go-multiaddr v0.10.1 github.com/pkg/errors v0.9.1 diff --git a/go.sum b/go.sum index 9cafca3..30a4eb3 100644 --- a/go.sum +++ b/go.sum @@ -299,8 +299,8 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/ipfs/bbloom v0.0.4 h1:Gi+8EGJ2y5qiD5FbsbpX/TMNcJw8gSqr7eyjHa4Fhvs= github.com/ipfs/bbloom v0.0.4/go.mod h1:cS9YprKXpoZ9lT0n/Mw/a6/aFV6DTjTLYHeA+gyqMG0= -github.com/ipfs/boxo v0.10.1 h1:q0ZhbyN6iNZLipd6txt1xotCiP/icfvdAQ4YpUi+cL4= -github.com/ipfs/boxo v0.10.1/go.mod h1:1qgKq45mPRCxf4ZPoJV2lnXxyxucigILMJOrQrVivv8= +github.com/ipfs/boxo v0.10.2-0.20230629143123-2d3edc552442 h1:SGbw381zt6c1VFf3QCBaJ+eVJ4AwD9fPaFKFp9U9Apk= +github.com/ipfs/boxo v0.10.2-0.20230629143123-2d3edc552442/go.mod h1:1qgKq45mPRCxf4ZPoJV2lnXxyxucigILMJOrQrVivv8= github.com/ipfs/go-bitfield v1.1.0 h1:fh7FIo8bSwaJEh6DdTWbCeZ1eqOaOkKFI74SCnsWbGA= github.com/ipfs/go-bitfield v1.1.0/go.mod h1:paqf1wjq/D2BBmzfTVFlJQ9IlFOZpg422HL0HqsGWHU= github.com/ipfs/go-block-format v0.0.2/go.mod h1:AWR46JfpcObNfg3ok2JHDUfdiHRgWhJgCQF+KIgOPJY= @@ -392,8 +392,8 @@ github.com/ipfs/go-unixfs v0.4.5 h1:wj8JhxvV1G6CD7swACwSKYa+NgtdWC1RUit+gFnymDU= github.com/ipfs/go-unixfsnode v1.7.1 h1:RRxO2b6CSr5UQ/kxnGzaChTjp5LWTdf3Y4n8ANZgB/s= github.com/ipfs/go-unixfsnode v1.7.1/go.mod h1:PVfoyZkX1B34qzT3vJO4nsLUpRCyhnMuHBznRcXirlk= github.com/ipfs/go-verifcid v0.0.2 h1:XPnUv0XmdH+ZIhLGKg6U2vaPaRDXb9urMyNVCE7uvTs= -github.com/ipfs/kubo v0.21.0-rc3 h1:ABC3A2xEYXdGC3bsM33fTGhiZzOPBt+AcgHnm962JSU= -github.com/ipfs/kubo v0.21.0-rc3/go.mod h1:UlfZhtbdLvdvyqFRTzb0PsGSmnprh93pdHDtRswIoXQ= +github.com/ipfs/kubo v0.21.0 h1:1+XKokeyatfI2Mri5iBn8Eplxf2F5ud0K5zLDg4tSSc= +github.com/ipfs/kubo v0.21.0/go.mod h1:LuK5ANXz/UhHp8jdt4mRwE16AHhbRqY68g/uyc5/VqU= github.com/ipld/edelweiss v0.2.0 h1:KfAZBP8eeJtrLxLhi7r3N0cBCo7JmwSRhOJp3WSpNjk= github.com/ipld/edelweiss v0.2.0/go.mod h1:FJAzJRCep4iI8FOFlRriN9n0b7OuX3T/S9++NpBDmA4= github.com/ipld/go-car/v2 v2.9.1-0.20230325062757-fff0e4397a3d h1:22g+x1tgWSXK34i25qjs+afr7basaneEkHaglBshd2g= diff --git a/node.go b/node.go index e20b3a4..328a63a 100644 --- a/node.go +++ b/node.go @@ -1,4 +1,4 @@ -package main +package ipfs import ( "context" diff --git a/pool.go b/pool.go index d1aa151..a0b4720 100644 --- a/pool.go +++ b/pool.go @@ -1,4 +1,4 @@ -package main +package ipfs import ( "context"