forked from mirror/gin
fix(comment): remove todo
This commit is contained in:
parent
e4fd80c627
commit
71d3ae4f92
1
gin.go
1
gin.go
|
@ -345,7 +345,6 @@ func (engine *Engine) handleHTTPRequest(context *Context) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: unit test
|
|
||||||
if engine.HandleMethodNotAllowed {
|
if engine.HandleMethodNotAllowed {
|
||||||
for _, tree := range engine.trees {
|
for _, tree := range engine.trees {
|
||||||
if tree.method != httpMethod {
|
if tree.method != httpMethod {
|
||||||
|
|
Loading…
Reference in New Issue