goimports -w .

This commit is contained in:
Dave Collins 2014-07-02 19:29:48 -05:00
parent 52be380fd1
commit 6c4b5928ab
11 changed files with 26 additions and 15 deletions

View file

@ -6,9 +6,10 @@ package btcutil
import (
"bytes"
"code.google.com/p/go.crypto/ripemd160"
"encoding/hex"
"errors"
"code.google.com/p/go.crypto/ripemd160"
"github.com/conformal/btcec"
"github.com/conformal/btcnet"
"github.com/conformal/btcwire"

View file

@ -5,9 +5,10 @@
package btcutil_test
import (
. "github.com/conformal/btcutil"
"math"
"testing"
. "github.com/conformal/btcutil"
)
func TestAmountCreation(t *testing.T) {

View file

@ -5,13 +5,14 @@
package btcutil_test
import (
"github.com/conformal/btcutil"
"os"
"os/user"
"path/filepath"
"runtime"
"testing"
"unicode"
"github.com/conformal/btcutil"
)
// TestAppDataDir tests the API for AppDataDir to ensure it gives expected

View file

@ -7,8 +7,9 @@ package btcutil_test
import (
"bytes"
"encoding/hex"
"github.com/conformal/btcutil"
"testing"
"github.com/conformal/btcutil"
)
var stringTests = []struct {

View file

@ -7,8 +7,9 @@ package btcutil
import (
"bytes"
"fmt"
"github.com/conformal/btcwire"
"io"
"github.com/conformal/btcwire"
)
// OutOfRangeError describes an error due to accessing an element that is out

View file

@ -6,13 +6,14 @@ package btcutil_test
import (
"bytes"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
"github.com/davecgh/go-spew/spew"
"io"
"reflect"
"testing"
"time"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
"github.com/davecgh/go-spew/spew"
)
// TestBlock tests the API for Block.

View file

@ -3,9 +3,10 @@ package coinset
import (
"container/list"
"errors"
"sort"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
"sort"
)
// Coin represents a spendable transaction outpoint

View file

@ -4,11 +4,12 @@ import (
"bytes"
"encoding/hex"
"fmt"
"testing"
"github.com/conformal/btcutil"
"github.com/conformal/btcutil/coinset"
"github.com/conformal/btcwire"
"github.com/conformal/fastsha256"
"testing"
)
type TestCoin struct {

View file

@ -5,9 +5,10 @@
package btcutil
import (
"hash"
"code.google.com/p/go.crypto/ripemd160"
"github.com/conformal/fastsha256"
"hash"
)
// Calculate the hash of hasher over buf.

3
tx.go
View file

@ -6,8 +6,9 @@ package btcutil
import (
"bytes"
"github.com/conformal/btcwire"
"io"
"github.com/conformal/btcwire"
)
// TxIndexUnknown is the value returned for a transaction index that is unknown.

View file

@ -6,12 +6,13 @@ package btcutil_test
import (
"bytes"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
"github.com/davecgh/go-spew/spew"
"io"
"reflect"
"testing"
"github.com/conformal/btcutil"
"github.com/conformal/btcwire"
"github.com/davecgh/go-spew/spew"
)
// TestTx tests the API for Tx.