diff --git a/Gopkg.lock b/Gopkg.lock index de100fa..62096d7 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -2,12 +2,23 @@ [[projects]] + digest = "1:c84a587136cb69cecc11f3dbe9f9001444044c0dba74997b07f7e4c150b07cda" + name = "github.com/DATA-DOG/go-sqlmock" + packages = ["."] + pruneopts = "UT" + revision = "3f9954f6f6697845b082ca57995849ddf614f450" + version = "v1.3.3" + +[[projects]] + digest = "1:705c40022f5c03bf96ffeb6477858d88565064485a513abcd0f11a0911546cb6" name = "github.com/blang/semver" packages = ["."] + pruneopts = "UT" revision = "2ee87856327ba09384cabd113bc6b5d174e9ec0f" version = "v3.5.1" [[projects]] + digest = "1:d20ff0edad895612dfcfa5c53c0b24a2a7ae0929bc9559f8ffe549eb51093fe7" name = "github.com/jackc/pgx" packages = [ ".", @@ -16,21 +27,25 @@ "pgio", "pgproto3", "pgtype", - "stdlib" + "stdlib", ] + pruneopts = "UT" revision = "da3231b0b66e2e74cdb779f1d46c5e958ba8be27" version = "v3.1.0" [[projects]] branch = "master" + digest = "1:7654989089e5bd5b6734ec3be8b695e87d3f1f8d95620b343fd7d3995a5b60d7" name = "github.com/jmoiron/sqlx" packages = [ ".", - "reflectx" + "reflectx", ] + pruneopts = "UT" revision = "0dae4fefe7c0e190f7b5a78dac28a1c82cc8d849" [[projects]] + digest = "1:a07caa164b5a159fd3aa419a82ce0eadaff55a7aef202e62253f2fc927cbee1f" name = "github.com/onsi/ginkgo" packages = [ ".", @@ -57,12 +72,14 @@ "reporters/stenographer", "reporters/stenographer/support/go-colorable", "reporters/stenographer/support/go-isatty", - "types" + "types", ] + pruneopts = "UT" revision = "fa5fabab2a1bfbd924faf4c067d07ae414e2aedf" version = "v1.5.0" [[projects]] + digest = "1:6dbefa9e10dcde4ab246ffacb88073ef979bd9c195fd36480f60c7dc0ffa5ca2" name = "github.com/onsi/gomega" packages = [ ".", @@ -77,34 +94,42 @@ "matchers/support/goraph/edge", "matchers/support/goraph/node", "matchers/support/goraph/util", - "types" + "types", ] + pruneopts = "UT" revision = "62bff4df71bdbc266561a0caee19f0594b17c240" version = "v1.4.0" [[projects]] + digest = "1:40e195917a951a8bf867cd05de2a46aaf1806c50cf92eebf4c16f78cd196f747" name = "github.com/pkg/errors" packages = ["."] + pruneopts = "UT" revision = "645ef00459ed84a119197bfb8d8205042c6df63d" version = "v0.8.0" [[projects]] branch = "master" + digest = "1:c8678feb43230c4aabd02a59d175235875b34741a915261f7eadd0a0a550a384" name = "golang.org/x/net" packages = [ "html", "html/atom", - "html/charset" + "html/charset", ] + pruneopts = "UT" revision = "d0887baf81f4598189d4e12a37c6da86f0bba4d0" [[projects]] branch = "master" + digest = "1:d773e525476aefa22ea944a5425a9bfb99819b2e67eeb9b1966454fd57522bbf" name = "golang.org/x/sys" packages = ["unix"] + pruneopts = "UT" revision = "ac767d655b305d4e9612f5f6e33120b9176c4ad4" [[projects]] + digest = "1:aa4d6967a3237f8367b6bf91503964a77183ecf696f1273e8ad3551bb4412b5f" name = "golang.org/x/text" packages = [ "encoding", @@ -123,37 +148,47 @@ "language", "runes", "transform", - "unicode/cldr" + "unicode/cldr", ] + pruneopts = "UT" revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" version = "v0.3.0" [[projects]] branch = "master" + digest = "1:a50d2e614dc8117192449faf8f34b4fb0ba4b80fe98df6d7296eb072db0850ef" name = "golang.org/x/tools" packages = [ "cmd/goimports", "go/ast/astutil", "imports", - "internal/fastwalk" + "internal/fastwalk", ] + pruneopts = "UT" revision = "fd2d2c45eb2dff7b87eab4303a1016b4dbf95e81" [[projects]] - name = "gopkg.in/DATA-DOG/go-sqlmock.v1" - packages = ["."] - revision = "d76b18b42f285b792bf985118980ce9eacea9d10" - version = "v1.3.0" - -[[projects]] + digest = "1:342378ac4dcb378a5448dd723f0784ae519383532f5e70ade24132c4c8693202" name = "gopkg.in/yaml.v2" packages = ["."] + pruneopts = "UT" revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183" version = "v2.2.1" [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "0340820206c151a83a88eaf3a46fb60f1c418d7fc950949ec07dfdd606bec594" + input-imports = [ + "github.com/DATA-DOG/go-sqlmock", + "github.com/blang/semver", + "github.com/jackc/pgx/stdlib", + "github.com/jmoiron/sqlx", + "github.com/onsi/ginkgo", + "github.com/onsi/ginkgo/ginkgo", + "github.com/onsi/gomega", + "github.com/onsi/gomega/gbytes", + "github.com/pkg/errors", + "golang.org/x/tools/cmd/goimports", + ] solver-name = "gps-cdcl" solver-version = 1 diff --git a/cluster/cluster_test.go b/cluster/cluster_test.go index dd719cd..3e5e588 100644 --- a/cluster/cluster_test.go +++ b/cluster/cluster_test.go @@ -7,7 +7,7 @@ import ( "os/user" "testing" - sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1" + sqlmock "github.com/DATA-DOG/go-sqlmock" "github.com/greenplum-db/gp-common-go-libs/cluster" "github.com/greenplum-db/gp-common-go-libs/dbconn" diff --git a/dbconn/dbconn_test.go b/dbconn/dbconn_test.go index d32be4c..7d1ea05 100644 --- a/dbconn/dbconn_test.go +++ b/dbconn/dbconn_test.go @@ -10,7 +10,7 @@ import ( "github.com/greenplum-db/gp-common-go-libs/dbconn" "github.com/greenplum-db/gp-common-go-libs/operating" "github.com/greenplum-db/gp-common-go-libs/testhelper" - sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1" + sqlmock "github.com/DATA-DOG/go-sqlmock" "github.com/jmoiron/sqlx" . "github.com/onsi/ginkgo" diff --git a/testhelper/functions.go b/testhelper/functions.go index 1d1f6e9..6f8ae29 100644 --- a/testhelper/functions.go +++ b/testhelper/functions.go @@ -13,7 +13,7 @@ import ( . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/onsi/gomega/gbytes" - sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1" + sqlmock "github.com/DATA-DOG/go-sqlmock" ) /*