goimports -w .

This commit is contained in:
Tomás Senart 2014-07-03 13:45:40 +02:00
parent f8f7eed4ae
commit def3543ba6
5 changed files with 17 additions and 12 deletions

View file

@ -20,12 +20,13 @@ import (
"bytes" "bytes"
"encoding/base64" "encoding/base64"
"fmt" "fmt"
"path/filepath"
"github.com/conformal/btcjson" "github.com/conformal/btcjson"
"github.com/conformal/btcutil" "github.com/conformal/btcutil"
"github.com/conformal/btcwallet/txstore" "github.com/conformal/btcwallet/txstore"
"github.com/conformal/btcwallet/wallet" "github.com/conformal/btcwallet/wallet"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
"path/filepath"
) )
// Account is a structure containing all the components for a // Account is a structure containing all the components for a

View file

@ -20,18 +20,19 @@ import (
"encoding/hex" "encoding/hex"
"errors" "errors"
"fmt" "fmt"
"github.com/conformal/btcchain"
"github.com/conformal/btcjson"
"github.com/conformal/btcutil"
"github.com/conformal/btcwallet/txstore"
"github.com/conformal/btcwallet/wallet"
"github.com/conformal/btcwire"
"io/ioutil" "io/ioutil"
"os" "os"
"path/filepath" "path/filepath"
"strings" "strings"
"sync" "sync"
"time" "time"
"github.com/conformal/btcchain"
"github.com/conformal/btcjson"
"github.com/conformal/btcutil"
"github.com/conformal/btcwallet/txstore"
"github.com/conformal/btcwallet/wallet"
"github.com/conformal/btcwire"
) )
// Errors relating to accounts. // Errors relating to accounts.

View file

@ -18,14 +18,15 @@ package main
import ( import (
"fmt" "fmt"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
"github.com/conformal/go-flags"
"net" "net"
"os" "os"
"path/filepath" "path/filepath"
"sort" "sort"
"strings" "strings"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
"github.com/conformal/go-flags"
) )
const ( const (

View file

@ -10,12 +10,13 @@
package main package main
import ( import (
"testing"
"github.com/conformal/btcscript" "github.com/conformal/btcscript"
"github.com/conformal/btcutil" "github.com/conformal/btcutil"
"github.com/conformal/btcwallet/tx" "github.com/conformal/btcwallet/tx"
"github.com/conformal/btcwallet/wallet" "github.com/conformal/btcwallet/wallet"
"github.com/conformal/btcwire" "github.com/conformal/btcwire"
"testing"
) )
func init() { func init() {

3
log.go
View file

@ -18,10 +18,11 @@ package main
import ( import (
"fmt" "fmt"
"os"
"github.com/conformal/btclog" "github.com/conformal/btclog"
"github.com/conformal/btcwallet/txstore" "github.com/conformal/btcwallet/txstore"
"github.com/conformal/seelog" "github.com/conformal/seelog"
"os"
) )
const ( const (