update new route middlewares
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package controller
|
||||
|
||||
import "go-api/pkg/context"
|
||||
|
||||
func Health() context.CustomHandler {
|
||||
return func(c *context.C) {
|
||||
c.String(200, "ok")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user