From e251ccc9e1847ce10d0685aa579dcf7d593570c3 Mon Sep 17 00:00:00 2001 From: yinheli Date: Sun, 19 Jun 2022 11:09:51 +0800 Subject: [PATCH] chore: update example --- example/grpc-service/go.mod | 27 +++++++++++++++++++-------- example/rest-service/go.mod | 2 +- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/example/grpc-service/go.mod b/example/grpc-service/go.mod index 7d8aa88..727b185 100644 --- a/example/grpc-service/go.mod +++ b/example/grpc-service/go.mod @@ -3,15 +3,26 @@ module grpc-service go 1.16 require ( - github.com/envoyproxy/protoc-gen-validate v0.6.1 - github.com/grpc-ecosystem/grpc-gateway/v2 v2.5.0 - github.com/labstack/echo/v4 v4.5.0 - github.com/stretchr/testify v1.7.0 + github.com/envoyproxy/protoc-gen-validate v0.6.7 + github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.3 + github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/hashicorp/go-uuid v1.0.3 // indirect + github.com/labstack/echo/v4 v4.7.2 + github.com/pelletier/go-toml/v2 v2.0.2 // indirect + github.com/pierrec/lz4/v4 v4.1.15 // indirect + github.com/prometheus/common v0.34.0 // indirect + github.com/stretchr/testify v1.7.2 + github.com/subosito/gotenv v1.4.0 // indirect github.com/xinpianchang/xservice v1.0.20 - go.uber.org/zap v1.19.0 - google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83 - google.golang.org/grpc v1.40.0 - google.golang.org/protobuf v1.27.1 + go.uber.org/zap v1.21.0 + golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect + golang.org/x/net v0.0.0-20220617184016-355a448f1bc9 // indirect + golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c // indirect + golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect + google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad + google.golang.org/grpc v1.47.0 + google.golang.org/protobuf v1.28.0 + gopkg.in/ini.v1 v1.66.6 // indirect ) replace github.com/xinpianchang/xservice => ../../ diff --git a/example/rest-service/go.mod b/example/rest-service/go.mod index 20d8828..c886519 100644 --- a/example/rest-service/go.mod +++ b/example/rest-service/go.mod @@ -3,7 +3,7 @@ module rest-service go 1.16 require ( - github.com/labstack/echo/v4 v4.5.0 + github.com/labstack/echo/v4 v4.7.2 github.com/xinpianchang/xservice v1.0.20 )