summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorYuxuan 'fishy' Wang <yuxuan.wang@reddit.com>2022-10-28 10:29:25 -0700
committerYuxuan 'fishy' Wang <fishywang@gmail.com>2022-11-02 15:44:07 -0700
commite8353cb46e9f5e71f9b76f55d6bf59530b7f98ef (patch)
tree0a115e7b4edaf865c497a01196f9fc60acd8d734 /go.mod
parent2acfe0fc7a1747c327da66c8a693840ba0c5a016 (diff)
downloadthrift-e8353cb46e9f5e71f9b76f55d6bf59530b7f98ef.tar.gz
Use multi-module to cleanup top level go.mod
Client: go The go library itself does not have any third-party dependencies. We have one third party dependency from the test code, which kind of polluted from top-level go.mod file to the users of thrift go library. We previous tried to clean that up by creating go.mod file at lib/go/thrift, which caused issues to the release process and thus reverted. Use multi-module to separate tests requiring mock to their own modules so that we can keep the top-level go.mod file clean. Also some minor fixes on the github actions go workflow.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod9
1 files changed, 0 insertions, 9 deletions
diff --git a/go.mod b/go.mod
index dc1e4a207..30de9f53d 100644
--- a/go.mod
+++ b/go.mod
@@ -1,12 +1,3 @@
module github.com/apache/thrift
go 1.18
-
-require github.com/golang/mock v1.6.0
-
-require (
- golang.org/x/mod v0.4.2 // indirect
- golang.org/x/sys v0.0.0-20210510120138-977fb7262007 // indirect
- golang.org/x/tools v0.1.1 // indirect
- golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
-)