Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

use gopkg

goenning574d13614987
diff --git a/Gomfile b/Gomfile
index cc20efa05..ed5b43913 100644
--- a/Gomfile
+++ b/Gomfile
@@ -6,4 +6,4 @@ gom 'github.com/lib/pq', :commit => '472a0745531a17dbac346e828b4c60e73ddff30c'
gom 'github.com/jmoiron/jsonq', :commit => 'e874b168d07ecc7808bc950a17998a8aa3141d82'
gom 'github.com/onsi/gomega', :commit => '4ac488ac94a6dfbd2f7e01cc3bea24e2efc40663'
-gom 'github.com/DATA-DOG/go-sqlmock', :tag => 'v1.2.0'
+gom 'gopkg.in/DATA-DOG/go-sqlmock.v1', :tag => 'v1.2.0'
diff --git a/app/postgres/app_test.go b/app/postgres/app_test.go
index baba43ae6..3bc5e4c19 100644
--- a/app/postgres/app_test.go
+++ b/app/postgres/app_test.go
@@ -4,7 +4,7 @@ import (
"fmt"
"testing"
- sqlmock "github.com/DATA-DOG/go-sqlmock"
+ sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1"
"github.com/WeCanHearYou/wechy/app/postgres"
. "github.com/onsi/gomega"
diff --git a/app/postgres/feedback_test.go b/app/postgres/feedback_test.go
index 8f9b5426f..5147ae23a 100644
--- a/app/postgres/feedback_test.go
+++ b/app/postgres/feedback_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"time"
- sqlmock "github.com/DATA-DOG/go-sqlmock"
+ sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1"
"github.com/WeCanHearYou/wechy/app/feedback"
"github.com/WeCanHearYou/wechy/app/identity"
diff --git a/app/postgres/identity_test.go b/app/postgres/identity_test.go
index 50b61c093..2e5f6cc27 100644
--- a/app/postgres/identity_test.go
+++ b/app/postgres/identity_test.go
@@ -5,7 +5,7 @@ import (
"database/sql/driver"
"testing"
- sqlmock "github.com/DATA-DOG/go-sqlmock"
+ sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1"
"github.com/WeCanHearYou/wechy/app/identity"
"github.com/WeCanHearYou/wechy/app/postgres"
diff --git a/vendor/github.com/DATA-DOG/go-sqlmock b/vendor/gopkg.in/DATA-DOG/go-sqlmock.v1
similarity index 100%
rename from vendor/github.com/DATA-DOG/go-sqlmock
rename to vendor/gopkg.in/DATA-DOG/go-sqlmock.v1