api-base/router/controller/health.go

10 lines
143 B
Go
Raw Normal View History

2020-08-16 09:39:13 +00:00
package controller
import "go-api/pkg/context"
func Health() context.CustomHandler {
return func(c *context.C) {
c.String(200, "ok")
}
}