V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
Goat121
V2EX  ›  Go 编程语言

遇到 goland 一个坑

  •  
  •   Goat121 · 2021-01-26 17:25:27 +08:00 · 1749 次点击
    这是一个创建于 1158 天前的主题,其中的信息可能已经有所发展或是发生改变。

    今天写出个空指针 bug,奇怪的是直接崩了没有 recover 我还以为用的 gin recover 中间件有问题,手写几个 recover 也不行 后来搜到 https://github.com/gin-gonic/gin/issues/1622 说是 goland debug 模式的问题,试了果然如此

    1 条回复    2021-01-27 01:29:09 +08:00
    Mitt
        1
    Mitt  
       2021-01-27 01:29:09 +08:00
    你应该去 Jetbrains 反馈,最好能附上一个简单 example 能复现的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2829 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 13:34 · PVG 21:34 · LAX 06:34 · JFK 09:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.