From e6192f1d6e6ce81c9a2e6f6c302ecd075e775253 Mon Sep 17 00:00:00 2001 From: cs-lexliu <99173230+cs-lexliu@users.noreply.github.com> Date: Wed, 1 Jun 2022 15:58:23 +0800 Subject: [PATCH] Support tool installation after Go 1.17 (#172) Make Orion/protoc-gen-orion to be a standalone module by adding a go.mod in the same directory. --- protoc-gen-orion/go.mod | 7 +++++++ protoc-gen-orion/go.sum | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 protoc-gen-orion/go.mod create mode 100644 protoc-gen-orion/go.sum diff --git a/protoc-gen-orion/go.mod b/protoc-gen-orion/go.mod new file mode 100644 index 00000000..0a9e495e --- /dev/null +++ b/protoc-gen-orion/go.mod @@ -0,0 +1,7 @@ +module github.com/carousell/Orion/protoc-gen-orion + +go 1.17 + +require github.com/golang/protobuf v1.5.2 + +require google.golang.org/protobuf v1.26.0 // indirect diff --git a/protoc-gen-orion/go.sum b/protoc-gen-orion/go.sum new file mode 100644 index 00000000..e987cded --- /dev/null +++ b/protoc-gen-orion/go.sum @@ -0,0 +1,10 @@ +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=