go-ipfs-config: gx-go uw
Łukasz Magiera committed
Jul 23, 2018 at 16:13 UTC
757f25d4b152aa72817b84a780ac606c499e5894
5 files changed
+8
-8
config/bootstrap_peers.go
+2
-2
@@ -4,10 +4,10 @@ import (
4
"errors"
5
"fmt"
6
7
- iaddr "gx/ipfs/QmWUtfQveCqT8cgNzN54at4sDMiFbANFRFCXuSDiTqJwC8/go-ipfs-addr"
7
+ iaddr "github.com/ipfs/go-ipfs-addr"
8
// Needs to be imported so that users can import this package directly
9
// and still parse the bootstrap addresses.
10
- _ "gx/ipfs/QmfXU2MhWoegxHoeMd3A2ytL2P6CY4FfqGWc23LTNWBwZt/go-multiaddr-dns"
10
+ _ "github.com/multiformats/go-multiaddr-dns"
11
)
12
13
// DefaultBootstrapAddresses are the hardcoded bootstrap addresses
config/config.go
+1
-1
@@ -9,7 +9,7 @@ import (
9
"path/filepath"
10
"strings"
11
12
- "gx/ipfs/QmdcULN1WCzgoQmcCaUAmEhwcxHYsDrbZ2LvRJKCL8dMrK/go-homedir"
12
+ "github.com/mitchellh/go-homedir"
13
)
14
15
// Config is used to load ipfs config files.
config/identity.go
+1
-1
@@ -3,7 +3,7 @@ package config
3
import (
4
"encoding/base64"
5
6
- ic "gx/ipfs/Qme1knMqwt1hKZbc1BmQFmnm9f36nyQGwXxPGVpVJ9rMK5/go-libp2p-crypto"
6
+ ic "github.com/libp2p/go-libp2p-crypto"
7
)
8
9
const IdentityTag = "Identity"
config/init.go
+2
-2
@@ -7,8 +7,8 @@ import (
7
"io"
8
"time"
9
10
- peer "gx/ipfs/QmdVrMn1LhB4ybb8hMVaMLXnA8XRSewMnK6YqXKXoTcRvN/go-libp2p-peer"
11
- ci "gx/ipfs/Qme1knMqwt1hKZbc1BmQFmnm9f36nyQGwXxPGVpVJ9rMK5/go-libp2p-crypto"
10
+ ci "github.com/libp2p/go-libp2p-crypto"
11
+ peer "github.com/libp2p/go-libp2p-peer"
12
)
13
14
func Init(out io.Writer, nBitsForKeypair int) (*Config, error) {
config/serialize/serialize.go
+2
-2
@@ -10,8 +10,8 @@ import (
10
11
"github.com/ipfs/go-ipfs-config"
12
13
- "gx/ipfs/QmPdKqUcHGFdeSpvjVoaTRPPstGif9GBZb5Q56RVw9o69A/go-ipfs-util"
14
- "gx/ipfs/QmdYwCmx8pZRkzdcd8MhmLJqYVoVTC1aGsy5Q4reMGLNLg/atomicfile"
13
+ "github.com/facebookgo/atomicfile"
14
+ "github.com/ipfs/go-ipfs-util"
15
)
16
17
// ReadConfigFile reads the config from `filename` into `cfg`.