goimports -w .
This commit is contained in:
parent
130edaec65
commit
0e463baf95
13 changed files with 26 additions and 13 deletions
1
chain.go
1
chain.go
|
@ -8,6 +8,7 @@ import (
|
|||
"bytes"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
|
||||
"github.com/conformal/btcjson"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/conformal/btcrpcclient"
|
||||
"log"
|
||||
|
||||
"github.com/conformal/btcrpcclient"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -5,13 +5,14 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/conformal/btcrpcclient"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/conformal/btcrpcclient"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -5,13 +5,14 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/conformal/btcrpcclient"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"github.com/conformal/btcrpcclient"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/davecgh/go-spew/spew"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -8,6 +8,7 @@ import (
|
|||
"encoding/base64"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
|
||||
"github.com/conformal/btcjson"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
|
|
|
@ -13,16 +13,17 @@ import (
|
|||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/conformal/btcjson"
|
||||
"github.com/conformal/btcws"
|
||||
"github.com/conformal/go-socks"
|
||||
"github.com/conformal/websocket"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/conformal/btcjson"
|
||||
"github.com/conformal/btcws"
|
||||
"github.com/conformal/go-socks"
|
||||
"github.com/conformal/websocket"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
3
log.go
3
log.go
|
@ -6,8 +6,9 @@ package btcrpcclient
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/conformal/btclog"
|
||||
"io"
|
||||
|
||||
"github.com/conformal/btclog"
|
||||
)
|
||||
|
||||
// log is a logger that is initialized with no output filters. This
|
||||
|
|
|
@ -8,6 +8,7 @@ import (
|
|||
"encoding/hex"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
|
||||
"github.com/conformal/btcjson"
|
||||
"github.com/conformal/btcutil"
|
||||
)
|
||||
|
|
1
net.go
1
net.go
|
@ -6,6 +6,7 @@ package btcrpcclient
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/conformal/btcjson"
|
||||
)
|
||||
|
||||
|
|
|
@ -10,11 +10,12 @@ import (
|
|||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"sync"
|
||||
|
||||
"github.com/conformal/btcjson"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
"github.com/conformal/btcws"
|
||||
"sync"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
|
@ -7,6 +7,7 @@ package btcrpcclient
|
|||
import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
|
||||
"github.com/conformal/btcjson"
|
||||
)
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ import (
|
|||
"bytes"
|
||||
"encoding/hex"
|
||||
"encoding/json"
|
||||
|
||||
"github.com/conformal/btcjson"
|
||||
"github.com/conformal/btcutil"
|
||||
"github.com/conformal/btcwire"
|
||||
|
|
|
@ -6,6 +6,7 @@ package btcrpcclient
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
|
||||
"github.com/conformal/btcjson"
|
||||
"github.com/conformal/btcnet"
|
||||
"github.com/conformal/btcutil"
|
||||
|
|
Loading…
Reference in a new issue