Skip to content

Commit 5e08e7e

Browse files
committed
Use gopkg.in/gorp.v1 instead of github.com/go-gorp/gorp
Please use gopkg.in/gorp.v1 #9
1 parent b639495 commit 5e08e7e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

helpers/auth.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package helpers
22

33
import (
44
"golang.org/x/crypto/bcrypt"
5-
"github.com/go-gorp/gorp"
5+
"gopkg.in/gorp.v1"
66
"github.com/haruyama/golang-goji-sample/models"
77
)
88

models/user.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"log"
77

88
"golang.org/x/crypto/bcrypt"
9-
"github.com/go-gorp/gorp"
9+
"gopkg.in/gorp.v1"
1010
_ "github.com/go-sql-driver/mysql"
1111
"github.com/golang/glog"
1212
)

system/controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"bytes"
55
"html/template"
66

7-
"github.com/go-gorp/gorp"
7+
"gopkg.in/gorp.v1"
88
"github.com/gorilla/sessions"
99
"github.com/zenazn/goji/web"
1010
)

system/core.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"crypto/sha256"
1313

14-
"github.com/go-gorp/gorp"
14+
"gopkg.in/gorp.v1"
1515
"github.com/golang/glog"
1616
"github.com/gorilla/sessions"
1717
"github.com/haruyama/golang-goji-sample/models"

system/middleware.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99
"strings"
1010

11-
"github.com/go-gorp/gorp"
11+
"gopkg.in/gorp.v1"
1212
"github.com/go-utils/uslice"
1313
"github.com/golang/glog"
1414
"github.com/gorilla/sessions"

0 commit comments

Comments
 (0)