goimports -w .

This commit is contained in:
Dave Collins 2014-07-02 19:33:54 -05:00
parent 130edaec65
commit 0e463baf95
13 changed files with 26 additions and 13 deletions

View file

@ -8,6 +8,7 @@ import (
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcutil" "github.com/conformal/btcutil"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"

View file

@ -5,8 +5,9 @@
package main package main
import ( import (
"github.com/conformal/btcrpcclient"
"log" "log"
"github.com/conformal/btcrpcclient"
) )
func main() { func main() {

View file

@ -5,13 +5,14 @@
package main package main
import ( import (
"github.com/conformal/btcrpcclient"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
"io/ioutil" "io/ioutil"
"log" "log"
"path/filepath" "path/filepath"
"time" "time"
"github.com/conformal/btcrpcclient"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
) )
func main() { func main() {

View file

@ -5,13 +5,14 @@
package main package main
import ( import (
"github.com/conformal/btcrpcclient"
"github.com/conformal/btcutil"
"github.com/davecgh/go-spew/spew"
"io/ioutil" "io/ioutil"
"log" "log"
"path/filepath" "path/filepath"
"time" "time"
"github.com/conformal/btcrpcclient"
"github.com/conformal/btcutil"
"github.com/davecgh/go-spew/spew"
) )
func main() { func main() {

View file

@ -8,6 +8,7 @@ import (
"encoding/base64" "encoding/base64"
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcutil" "github.com/conformal/btcutil"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"

View file

@ -13,16 +13,17 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"
"github.com/conformal/btcjson"
"github.com/conformal/btcws"
"github.com/conformal/go-socks"
"github.com/conformal/websocket"
"net" "net"
"net/http" "net/http"
"net/url" "net/url"
"sync" "sync"
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/conformal/btcjson"
"github.com/conformal/btcws"
"github.com/conformal/go-socks"
"github.com/conformal/websocket"
) )
var ( var (

3
log.go
View file

@ -6,8 +6,9 @@ package btcrpcclient
import ( import (
"errors" "errors"
"github.com/conformal/btclog"
"io" "io"
"github.com/conformal/btclog"
) )
// log is a logger that is initialized with no output filters. This // log is a logger that is initialized with no output filters. This

View file

@ -8,6 +8,7 @@ import (
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
"errors" "errors"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcutil" "github.com/conformal/btcutil"
) )

1
net.go
View file

@ -6,6 +6,7 @@ package btcrpcclient
import ( import (
"encoding/json" "encoding/json"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
) )

View file

@ -10,11 +10,12 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"
"sync"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcutil" "github.com/conformal/btcutil"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
"github.com/conformal/btcws" "github.com/conformal/btcws"
"sync"
) )
var ( var (

View file

@ -7,6 +7,7 @@ package btcrpcclient
import ( import (
"encoding/json" "encoding/json"
"errors" "errors"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
) )

View file

@ -8,6 +8,7 @@ import (
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcutil" "github.com/conformal/btcutil"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"

View file

@ -6,6 +6,7 @@ package btcrpcclient
import ( import (
"encoding/json" "encoding/json"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcnet" "github.com/conformal/btcnet"
"github.com/conformal/btcutil" "github.com/conformal/btcutil"