Giter Club home page Giter Club logo

Comments (5)

PandaX-Go avatar PandaX-Go commented on June 14, 2024

接口响应楚做了异常捕获

from pandax.

mrs-joker avatar mrs-joker commented on June 14, 2024

接口里新起了子协程,子协程 pannic ....就完犊子了啊、、
PandaX\apps\develop\gen\gen.go里的 接口方法 GenConfigure

from pandax.

PandaX-Go avatar PandaX-Go commented on June 14, 2024

go语言中被诟病的主要就是error,因此框架做了处理,子协程在进行error捕获,要不然每次都要处理error。

from pandax.

mrs-joker avatar mrs-joker commented on June 14, 2024

你们的GO项目应该pannic挂了、、昨晚我这边测试的时弄的,有空重启下吧、、不好意思

from pandax.

findgo avatar findgo commented on June 14, 2024

要不是新司基于这个改的, 我都懒着说, 这错误处理极其不负责,号称企业级也不敢这么干. 又不是java处理错误. 显示处理错理本来就是趋势. 在go中panic,还要做调用栈回溯. 这性能降的猛的一批. 实在不懂处理, 国内基本框架参考kratos,go-zero. 语言层面看看rust处理方法.

from pandax.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.