Skip to content

Commit

Permalink
Update import ordering with goimports
Browse files Browse the repository at this point in the history
  • Loading branch information
erykwalder committed Jan 21, 2015
1 parent d95ddcd commit 1612de0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 4 deletions.
3 changes: 2 additions & 1 deletion bench_test.go
Expand Up @@ -7,7 +7,6 @@ import (
"bytes"
"database/sql"
"database/sql/driver"
"github.com/lib/pq/oid"
"io"
"math/rand"
"net"
Expand All @@ -17,6 +16,8 @@ import (
"sync"
"testing"
"time"

"github.com/lib/pq/oid"
)

var (
Expand Down
1 change: 1 addition & 0 deletions buf.go
Expand Up @@ -3,6 +3,7 @@ package pq
import (
"bytes"
"encoding/binary"

"github.com/lib/pq/oid"
)

Expand Down
3 changes: 2 additions & 1 deletion conn.go
Expand Up @@ -10,7 +10,6 @@ import (
"encoding/binary"
"errors"
"fmt"
"github.com/lib/pq/oid"
"io"
"io/ioutil"
"net"
Expand All @@ -22,6 +21,8 @@ import (
"strings"
"time"
"unicode"

"github.com/lib/pq/oid"
)

// Common error types
Expand Down
3 changes: 2 additions & 1 deletion encode.go
Expand Up @@ -5,12 +5,13 @@ import (
"database/sql/driver"
"encoding/hex"
"fmt"
"github.com/lib/pq/oid"
"math"
"strconv"
"strings"
"sync"
"time"

"github.com/lib/pq/oid"
)

func encode(parameterStatus *parameterStatus, x interface{}, pgtypOid oid.Oid) []byte {
Expand Down
3 changes: 2 additions & 1 deletion hstore/hstore_test.go
Expand Up @@ -2,9 +2,10 @@ package hstore

import (
"database/sql"
_ "github.com/lib/pq"
"os"
"testing"

_ "github.com/lib/pq"
)

type Fatalistic interface {
Expand Down
1 change: 1 addition & 0 deletions oid/gen.go
Expand Up @@ -11,6 +11,7 @@ import (
"os/exec"

"database/sql"

_ "github.com/lib/pq"
)

Expand Down

0 comments on commit 1612de0

Please sign in to comment.