add comments

This commit is contained in:
MaysWind
2020-12-26 00:15:05 +08:00
parent 823ed89612
commit 922582d60d
5 changed files with 6 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@ var (
slash = []byte("/")
)
// Recovery logs error message when error occurs
func Recovery(c *core.Context) {
defer func() {
if err := recover(); err != nil {