Commit 93299fcb authored by Łukasz Magiera's avatar Łukasz Magiera

gx-go uw

parent 6e2dc728
...@@ -7,7 +7,7 @@ import ( ...@@ -7,7 +7,7 @@ import (
"github.com/ipfs/interface-go-ipfs-core/options" "github.com/ipfs/interface-go-ipfs-core/options"
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format" ipld "github.com/ipfs/go-ipld-format"
) )
// CoreAPI defines an unified interface to IPFS for Go programs // CoreAPI defines an unified interface to IPFS for Go programs
......
package iface package iface
import ( import (
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format" ipld "github.com/ipfs/go-ipld-format"
) )
// APIDagService extends ipld.DAGService // APIDagService extends ipld.DAGService
......
...@@ -5,8 +5,8 @@ import ( ...@@ -5,8 +5,8 @@ import (
"github.com/ipfs/interface-go-ipfs-core/options" "github.com/ipfs/interface-go-ipfs-core/options"
peer "gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer" peer "github.com/libp2p/go-libp2p-peer"
pstore "gx/ipfs/QmQFFp4ntkd4C14sP3FaH9WJyBuetuGUVo6dShNHvnoEvC/go-libp2p-peerstore" pstore "github.com/libp2p/go-libp2p-peerstore"
) )
// DhtAPI specifies the interface to the DHT // DhtAPI specifies the interface to the DHT
......
...@@ -5,7 +5,7 @@ import ( ...@@ -5,7 +5,7 @@ import (
options "github.com/ipfs/interface-go-ipfs-core/options" options "github.com/ipfs/interface-go-ipfs-core/options"
"gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer" "github.com/libp2p/go-libp2p-peer"
) )
// Key specifies the interface to Keys in KeyAPI Keystore // Key specifies the interface to Keys in KeyAPI Keystore
......
...@@ -6,8 +6,8 @@ import ( ...@@ -6,8 +6,8 @@ import (
options "github.com/ipfs/interface-go-ipfs-core/options" options "github.com/ipfs/interface-go-ipfs-core/options"
cid "gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid" cid "github.com/ipfs/go-cid"
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format" ipld "github.com/ipfs/go-ipld-format"
) )
// ObjectStat provides information about dag nodes // ObjectStat provides information about dag nodes
......
...@@ -2,8 +2,8 @@ package options ...@@ -2,8 +2,8 @@ package options
import ( import (
"fmt" "fmt"
cid "gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid" cid "github.com/ipfs/go-cid"
mh "gx/ipfs/QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW/go-multihash" mh "github.com/multiformats/go-multihash"
) )
type BlockPutSettings struct { type BlockPutSettings struct {
......
...@@ -4,9 +4,9 @@ import ( ...@@ -4,9 +4,9 @@ import (
"errors" "errors"
"fmt" "fmt"
cid "gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid" cid "github.com/ipfs/go-cid"
dag "gx/ipfs/QmUtsx89yiCY6F8mbpP6ecXckiSzCBH7EvkKZuZEHBcr1m/go-merkledag" dag "github.com/ipfs/go-merkledag"
mh "gx/ipfs/QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW/go-multihash" mh "github.com/multiformats/go-multihash"
) )
type Layout int type Layout int
......
package iface package iface
import ( import (
ipfspath "gx/ipfs/QmQ3YSqfxunT5QBg6KBVskKyRE26q6hjSMyhpxchpm7jEN/go-path" "github.com/ipfs/go-cid"
"gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid" ipfspath "github.com/ipfs/go-path"
) )
//TODO: merge with ipfspath so we don't depend on it //TODO: merge with ipfspath so we don't depend on it
......
...@@ -6,7 +6,7 @@ import ( ...@@ -6,7 +6,7 @@ import (
options "github.com/ipfs/interface-go-ipfs-core/options" options "github.com/ipfs/interface-go-ipfs-core/options"
peer "gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer" peer "github.com/libp2p/go-libp2p-peer"
) )
// PubSubSubscription is an active PubSub subscription // PubSubSubscription is an active PubSub subscription
......
...@@ -5,11 +5,11 @@ import ( ...@@ -5,11 +5,11 @@ import (
"errors" "errors"
"time" "time"
ma "gx/ipfs/QmNTCey11oxhb1AxDnQBRHtdhap6Ctud872NjAYPYYXPuc/go-multiaddr" net "github.com/libp2p/go-libp2p-net"
"gx/ipfs/QmPJxxDsX2UbchSHobbYuvz7qnyJTFKvaKMzE2rZWJ4x5B/go-libp2p-peer" "github.com/libp2p/go-libp2p-peer"
pstore "gx/ipfs/QmQFFp4ntkd4C14sP3FaH9WJyBuetuGUVo6dShNHvnoEvC/go-libp2p-peerstore" pstore "github.com/libp2p/go-libp2p-peerstore"
net "gx/ipfs/QmZ7cBWUXkyWTMN4qH6NGoyMVs7JugyFChBNP4ZUp5rJHH/go-libp2p-net" "github.com/libp2p/go-libp2p-protocol"
"gx/ipfs/QmZNkThpqfVXs9GNbexPrfBbXSLNYeKrE7jwFM2oqHbyqN/go-libp2p-protocol" ma "github.com/multiformats/go-multiaddr"
) )
var ( var (
......
...@@ -9,7 +9,7 @@ import ( ...@@ -9,7 +9,7 @@ import (
coreiface "github.com/ipfs/interface-go-ipfs-core" coreiface "github.com/ipfs/interface-go-ipfs-core"
opt "github.com/ipfs/interface-go-ipfs-core/options" opt "github.com/ipfs/interface-go-ipfs-core/options"
mh "gx/ipfs/QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW/go-multihash" mh "github.com/multiformats/go-multihash"
) )
func (tp *provider) TestBlock(t *testing.T) { func (tp *provider) TestBlock(t *testing.T) {
......
...@@ -9,9 +9,9 @@ import ( ...@@ -9,9 +9,9 @@ import (
coreiface "github.com/ipfs/interface-go-ipfs-core" coreiface "github.com/ipfs/interface-go-ipfs-core"
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format" ipldcbor "github.com/ipfs/go-ipld-cbor"
ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor" ipld "github.com/ipfs/go-ipld-format"
mh "gx/ipfs/QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW/go-multihash" mh "github.com/multiformats/go-multihash"
) )
func (tp *provider) TestDag(t *testing.T) { func (tp *provider) TestDag(t *testing.T) {
......
...@@ -8,8 +8,8 @@ import ( ...@@ -8,8 +8,8 @@ import (
"testing" "testing"
"time" "time"
ipath "gx/ipfs/QmQ3YSqfxunT5QBg6KBVskKyRE26q6hjSMyhpxchpm7jEN/go-path" "github.com/ipfs/go-ipfs-files"
"gx/ipfs/QmaXvvAVAQ5ABqM5xtjYmV85xmN5MkWAZsX9H9Fwo4FVXp/go-ipfs-files" ipath "github.com/ipfs/go-path"
coreiface "github.com/ipfs/interface-go-ipfs-core" coreiface "github.com/ipfs/interface-go-ipfs-core"
opt "github.com/ipfs/interface-go-ipfs-core/options" opt "github.com/ipfs/interface-go-ipfs-core/options"
......
...@@ -9,7 +9,7 @@ import ( ...@@ -9,7 +9,7 @@ import (
coreiface "github.com/ipfs/interface-go-ipfs-core" coreiface "github.com/ipfs/interface-go-ipfs-core"
"github.com/ipfs/interface-go-ipfs-core/options" "github.com/ipfs/interface-go-ipfs-core/options"
ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor" ipldcbor "github.com/ipfs/go-ipld-cbor"
) )
func (tp *provider) TestPath(t *testing.T) { func (tp *provider) TestPath(t *testing.T) {
...@@ -38,7 +38,7 @@ func (tp *provider) TestMutablePath(t *testing.T) { ...@@ -38,7 +38,7 @@ func (tp *provider) TestMutablePath(t *testing.T) {
t.Error("expected /ipld path to be immutable") t.Error("expected /ipld path to be immutable")
} }
// get self /ipns path ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor" // get self /ipns path
if api.Key() == nil { if api.Key() == nil {
t.Fatal(".Key not implemented") t.Fatal(".Key not implemented")
......
...@@ -9,8 +9,8 @@ import ( ...@@ -9,8 +9,8 @@ import (
"github.com/ipfs/interface-go-ipfs-core" "github.com/ipfs/interface-go-ipfs-core"
opt "github.com/ipfs/interface-go-ipfs-core/options" opt "github.com/ipfs/interface-go-ipfs-core/options"
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format" ipldcbor "github.com/ipfs/go-ipld-cbor"
ipldcbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor" ipld "github.com/ipfs/go-ipld-format"
) )
func (tp *provider) TestPin(t *testing.T) { func (tp *provider) TestPin(t *testing.T) {
......
...@@ -18,13 +18,13 @@ import ( ...@@ -18,13 +18,13 @@ import (
coreiface "github.com/ipfs/interface-go-ipfs-core" coreiface "github.com/ipfs/interface-go-ipfs-core"
"github.com/ipfs/interface-go-ipfs-core/options" "github.com/ipfs/interface-go-ipfs-core/options"
"gx/ipfs/QmR8BauakNcBa3RbE4nbQu76PDiJgoQgz8AJdhJuiU4TAw/go-cid" "github.com/ipfs/go-cid"
cbor "gx/ipfs/QmRZxJ7oybgnnwriuRub9JXp5YdFM9wiGSyRq38QC7swpS/go-ipld-cbor" "github.com/ipfs/go-ipfs-files"
mdag "gx/ipfs/QmUtsx89yiCY6F8mbpP6ecXckiSzCBH7EvkKZuZEHBcr1m/go-merkledag" cbor "github.com/ipfs/go-ipld-cbor"
"gx/ipfs/QmZArMcsVDsXdcLbUx4844CuqKXBpbxdeiryM4cnmGTNRq/go-unixfs" mdag "github.com/ipfs/go-merkledag"
"gx/ipfs/QmZArMcsVDsXdcLbUx4844CuqKXBpbxdeiryM4cnmGTNRq/go-unixfs/importer/helpers" "github.com/ipfs/go-unixfs"
"gx/ipfs/QmaXvvAVAQ5ABqM5xtjYmV85xmN5MkWAZsX9H9Fwo4FVXp/go-ipfs-files" "github.com/ipfs/go-unixfs/importer/helpers"
mh "gx/ipfs/QmerPMzPk1mJVowm8KgmoknWa4yCYvvugMPsgWmDNUvDLW/go-multihash" mh "github.com/multiformats/go-multihash"
) )
func (tp *provider) TestUnixfs(t *testing.T) { func (tp *provider) TestUnixfs(t *testing.T) {
......
...@@ -4,9 +4,9 @@ import ( ...@@ -4,9 +4,9 @@ import (
"context" "context"
"github.com/ipfs/interface-go-ipfs-core/options" "github.com/ipfs/interface-go-ipfs-core/options"
ipld "gx/ipfs/QmRL22E4paat7ky7vx9MLpR97JHHbFPrg3ytFQw6qp1y1s/go-ipld-format" "github.com/ipfs/go-ipfs-files"
"gx/ipfs/QmZArMcsVDsXdcLbUx4844CuqKXBpbxdeiryM4cnmGTNRq/go-unixfs" ipld "github.com/ipfs/go-ipld-format"
"gx/ipfs/QmaXvvAVAQ5ABqM5xtjYmV85xmN5MkWAZsX9H9Fwo4FVXp/go-ipfs-files" "github.com/ipfs/go-unixfs"
) )
type AddEvent struct { type AddEvent struct {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment