Closed dgqypl closed 7 months ago
1、修改日志级别 Infof -> Errorf 2、error 判断使用 .Is 3、添加注释,降低理解成本 4、删除无用的代码 5、使用卫语句优化 if 判断
1、修改日志级别 Infof -> Errorf 2、error 判断使用 .Is 3、添加注释,降低理解成本 4、删除无用的代码 5、使用卫语句优化 if 判断