db: gorp moved to github.com/go-gorp/gorp

This commit is contained in:
Bobby Rullo 2015-08-24 15:35:44 -07:00
parent 50c568b9d2
commit 74df09acb6
15 changed files with 15 additions and 17 deletions

View file

@ -8,8 +8,8 @@ import (
"fmt" "fmt"
"net/url" "net/url"
"github.com/coopernurse/gorp"
"github.com/coreos/go-oidc/oidc" "github.com/coreos/go-oidc/oidc"
"github.com/go-gorp/gorp"
"github.com/lib/pq" "github.com/lib/pq"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"

View file

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
_ "github.com/lib/pq" _ "github.com/lib/pq"
"github.com/coreos/dex/pkg/log" "github.com/coreos/dex/pkg/log"

View file

@ -5,7 +5,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
"github.com/lib/pq" "github.com/lib/pq"
"github.com/coreos/dex/connector" "github.com/coreos/dex/connector"

View file

@ -3,7 +3,7 @@ package db
import ( import (
"time" "time"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
"github.com/jonboulle/clockwork" "github.com/jonboulle/clockwork"
"github.com/coreos/dex/pkg/log" "github.com/coreos/dex/pkg/log"

View file

@ -4,7 +4,7 @@ import (
"errors" "errors"
"fmt" "fmt"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
) )
func NewHealthChecker(dbm *gorp.DbMap) *healthChecker { func NewHealthChecker(dbm *gorp.DbMap) *healthChecker {

View file

@ -7,7 +7,7 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
"github.com/lib/pq" "github.com/lib/pq"
pcrypto "github.com/coreos/dex/pkg/crypto" pcrypto "github.com/coreos/dex/pkg/crypto"

View file

@ -3,7 +3,7 @@ package db
import ( import (
"fmt" "fmt"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
"github.com/lib/pq" "github.com/lib/pq"
migrate "github.com/rubenv/sql-migrate" migrate "github.com/rubenv/sql-migrate"

View file

@ -5,7 +5,7 @@ import (
"os" "os"
"testing" "testing"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
) )
func initDB(dsn string) *gorp.DbMap { func initDB(dsn string) *gorp.DbMap {

View file

@ -4,10 +4,9 @@ import (
"errors" "errors"
"time" "time"
"github.com/coopernurse/gorp"
"github.com/coreos/dex/repo" "github.com/coreos/dex/repo"
"github.com/coreos/dex/user" "github.com/coreos/dex/user"
"github.com/go-gorp/gorp"
) )
const ( const (

View file

@ -6,8 +6,8 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/coopernurse/gorp"
"github.com/coreos/dex/refresh" "github.com/coreos/dex/refresh"
"github.com/go-gorp/gorp"
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
) )

View file

@ -7,7 +7,7 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
"github.com/jonboulle/clockwork" "github.com/jonboulle/clockwork"
"github.com/lib/pq" "github.com/lib/pq"

View file

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
"github.com/jonboulle/clockwork" "github.com/jonboulle/clockwork"
"github.com/lib/pq" "github.com/lib/pq"

View file

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/coopernurse/gorp" "github.com/go-gorp/gorp"
"github.com/lib/pq" "github.com/lib/pq"
"github.com/coreos/dex/repo" "github.com/coreos/dex/repo"

View file

@ -7,9 +7,9 @@ import (
"testing" "testing"
"time" "time"
"github.com/coopernurse/gorp"
"github.com/coreos/go-oidc/key" "github.com/coreos/go-oidc/key"
"github.com/coreos/go-oidc/oidc" "github.com/coreos/go-oidc/oidc"
"github.com/go-gorp/gorp"
"github.com/kylelemons/godebug/pretty" "github.com/kylelemons/godebug/pretty"
"github.com/coreos/dex/client" "github.com/coreos/dex/client"

View file

@ -3,9 +3,8 @@ package repo
import ( import (
"fmt" "fmt"
"github.com/coopernurse/gorp"
"github.com/coreos/dex/db" "github.com/coreos/dex/db"
"github.com/go-gorp/gorp"
) )
func initDB(dsn string) *gorp.DbMap { func initDB(dsn string) *gorp.DbMap {