THRIFT-3194 Can't build with go enabled. gomock SCC path incorrect.
Client: Go
Patch: Larry Matter <larry.matter@gmail.com>
This closes #524
diff --git a/.gitignore b/.gitignore
index 2282c0f..affc17e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -238,7 +238,7 @@
/test/go/ThriftTest.thrift
/test/go/gopath
/test/go/pkg/
-/test/go/src/code.google.com/
+/test/go/src/github.com/golang/
/test/go/src/gen/
/test/go/src/thrift
/test/haxe/bin
diff --git a/test/go/Makefile.am b/test/go/Makefile.am
index cf0ed58..2b2dbce 100644
--- a/test/go/Makefile.am
+++ b/test/go/Makefile.am
@@ -47,7 +47,7 @@
GOPATH=`pwd` $(GO) install bin/stress
clean-local:
- $(RM) -r src/gen src/code.google.com src/thrift bin pkg gopath ThriftTest.thrift
+ $(RM) -r src/gen src/github.com/golang src/thrift bin pkg gopath ThriftTest.thrift
check_PROGRAMS: bin/testclient bin/testserver bin/stress
@@ -55,7 +55,7 @@
GOPATH=`pwd` $(GO) test -v common/...
genmock: gopath
- GOPATH=`pwd` $(GO) install code.google.com/p/gomock/mockgen
+ GOPATH=`pwd` $(GO) install github.com/golang/mock/mockgen
GOPATH=`pwd` bin/mockgen -destination=src/common/mock_handler.go -package=common gen/thrifttest ThriftTest
EXTRA_DIST = \