summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorYuxuan 'fishy' Wang <yuxuan.wang@reddit.com>2021-03-22 15:01:00 -0700
committerYuxuan 'fishy' Wang <fishywang@gmail.com>2021-03-24 13:32:14 -0700
commitb71f11e251a711604cea8caad7d493ea57fe8a8f (patch)
treea560d3adce03767cd5c9c3ad0ec6fb5879b85ff1 /go.mod
parent65ea75279aa8c4678075d29063e3d5b0658ef155 (diff)
downloadthrift-b71f11e251a711604cea8caad7d493ea57fe8a8f.tar.gz
THRIFT-5358: Add go.mod file to root directory
Client: go This unblocks the development under go 1.16+, which starts to complain when there's no go.mod file in any of the directories. The current approach is certainly not the best solution ever, for example it does not run the tests under lib/go/test/tests but copy them into lib/go/test/gopath/src/sometest and run them there instead, but those improvements can be done in the future in follow up PRs and this should be a good enough first step to unblock developments.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod5
1 files changed, 5 insertions, 0 deletions
diff --git a/go.mod b/go.mod
new file mode 100644
index 000000000..474ec99be
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,5 @@
+module github.com/apache/thrift
+
+go 1.15
+
+require github.com/golang/mock v1.5.0