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

Open
opened 2016-04-22 03:09:18 +00:00 by lunny · 2 comments
Owner

Author: @JunyiHe

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

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

Author: @lunny

崩溃日志有吗?

Author: @lunny 崩溃日志有吗?
Author
Owner

Author: @dxvgef

这个问题我也遇到过

Author: @dxvgef 这个问题我也遇到过
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/tango#31
No description provided.