Skip to content

Commit

Permalink
优化写法
Browse files Browse the repository at this point in the history
  • Loading branch information
blusewang committed Aug 6, 2022
1 parent 385a01b commit f4a8c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

// HandlerFunc 函数体
type HandlerFunc func(*Context) error
type HandlerFunc func(*Context) (err error)

// IRouter 路由
type IRouter interface {
Expand Down

0 comments on commit f4a8c68

Please sign in to comment.