From b71f11e251a711604cea8caad7d493ea57fe8a8f Mon Sep 17 00:00:00 2001 From: Yuxuan 'fishy' Wang Date: Mon, 22 Mar 2021 15:01:00 -0700 Subject: 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. --- go.mod | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 go.mod (limited to 'go.mod') 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 -- cgit v1.2.1