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"
"net/url"
"github.com/coopernurse/gorp"
"github.com/coreos/go-oidc/oidc"
"github.com/go-gorp/gorp"
"github.com/lib/pq"
"golang.org/x/crypto/bcrypt"

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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