THRIFT-3192 Go import paths changed in 1.4, and expired June 1
Client: Go
Patch: Adam Beberg <beberg@sentient.ai>
This closes #523
diff --git a/test/go/Makefile.am b/test/go/Makefile.am
index e244676..cf0ed58 100644
--- a/test/go/Makefile.am
+++ b/test/go/Makefile.am
@@ -34,7 +34,7 @@
$(THRIFTCMD) ThriftTest.thrift
$(THRIFTCMD) ../StressTest.thrift
ln -nfs ../../../lib/go/thrift src/thrift
- GOPATH=`pwd` $(GO) get code.google.com/p/gomock/gomock
+ GOPATH=`pwd` $(GO) get github.com/golang/mock/gomock
touch gopath
bin/testclient: gopath
diff --git a/test/go/src/common/clientserver_test.go b/test/go/src/common/clientserver_test.go
index 1b833c9..0080ead 100644
--- a/test/go/src/common/clientserver_test.go
+++ b/test/go/src/common/clientserver_test.go
@@ -20,7 +20,7 @@
package common
import (
- "code.google.com/p/gomock/gomock"
+ "github.com/golang/mock/gomock"
"errors"
"gen/thrifttest"
"reflect"
diff --git a/test/go/src/common/mock_handler.go b/test/go/src/common/mock_handler.go
index 8ef3b6e..ec7e051 100644
--- a/test/go/src/common/mock_handler.go
+++ b/test/go/src/common/mock_handler.go
@@ -23,7 +23,7 @@
package common
import (
- gomock "code.google.com/p/gomock/gomock"
+ gomock "github.com/golang/mock/gomock"
thrifttest "gen/thrifttest"
)