From e80ff3388c2b30fa3b2f429a3809c4be7fc26f69 Mon Sep 17 00:00:00 2001 From: huanghai <10402852@qq.com> Date: Sat, 18 Jul 2020 16:35:01 +0800 Subject: [PATCH] 'commit' --- dsBaseRpc/Test/ErrorTest/ErrorTest.go | 1 - 1 file changed, 1 deletion(-) diff --git a/dsBaseRpc/Test/ErrorTest/ErrorTest.go b/dsBaseRpc/Test/ErrorTest/ErrorTest.go index 844f6f06..d2ee01e9 100644 --- a/dsBaseRpc/Test/ErrorTest/ErrorTest.go +++ b/dsBaseRpc/Test/ErrorTest/ErrorTest.go @@ -11,7 +11,6 @@ import ( 程序依然可以提供服务。 https://studygolang.com/articles/14168 -TODO (1)在每个Grpc的接口入口处加上defer的recover异常处理,以gin的方式返回错误,但主进程不会崩溃。 (2)修改一下代码生成器,这样就不用每个接口都手动去写这个异常处理了,因为代码都是一样的。 */