update new route middlewares

This commit is contained in:
Jay
2020-08-16 17:39:13 +08:00
parent 77cc488d89
commit b3a93abfb9
29 changed files with 643 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
package controller
import "go-api/pkg/context"
func Health() context.CustomHandler {
return func(c *context.C) {
c.String(200, "ok")
}
}