Skip to content

Commit

Permalink
Fix inconsistencies in import formatting
Browse files Browse the repository at this point in the history
Per investigation after a note from Chris Bandy on commit
1612de0.
  • Loading branch information
johto committed Jan 22, 2015
1 parent 1612de0 commit 1046c2c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ In most cases clients will use the database/sql package instead of
using this package directly. For example:
import (
_ "github.com/lib/pq"
"database/sql"
_ "github.com/lib/pq"
)
func main() {
Expand Down
4 changes: 2 additions & 2 deletions encode_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package pq

import (
"github.com/lib/pq/oid"

"bytes"
"fmt"
"testing"
"time"

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

func TestScanTimestamp(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions listen_example/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ mechanism to avoid polling the database while waiting for more work to arrive.
package main
import (
"github.com/lib/pq"
"database/sql"
"fmt"
"time"
"github.com/lib/pq"
)
func doWork(db *sql.DB, work int64) {
Expand Down
3 changes: 1 addition & 2 deletions oid/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
package main

import (
"database/sql"
"fmt"
"log"
"os"
"os/exec"

"database/sql"

_ "github.com/lib/pq"
)

Expand Down

0 comments on commit 1046c2c

Please sign in to comment.