Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Route时写错请求方法会导致panic #31

Open
joytry1 opened this issue Apr 22, 2016 · 2 comments
Open

Route时写错请求方法会导致panic #31

joytry1 opened this issue Apr 22, 2016 · 2 comments

Comments

@joytry1
Copy link

joytry1 commented Apr 22, 2016

例:t.Route("Get:Say", "/hello", contro)
运行后会直接导致panic(空指针异常),直接panic很难定位问题,也没有相应的提示。
希望可以加个更加明显易于定位问题的提示。

@lunny
Copy link
Owner

lunny commented Apr 22, 2016

崩溃日志有吗?

@dxvgef
Copy link
Collaborator

dxvgef commented Apr 23, 2016

这个问题我也遇到过

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants