You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-06-27 00:51:13 +02:00
checkpoint for api handler tests
This commit is contained in:
@ -28,10 +28,10 @@ func (c *Check) Health(ctx context.Context, w http.ResponseWriter, r *http.Reque
|
||||
}
|
||||
|
||||
// check redis
|
||||
err = c.Redis.Ping().Err()
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "Redis failed")
|
||||
}
|
||||
//err = c.Redis.Ping().Err()
|
||||
//if err != nil {
|
||||
// return errors.Wrap(err, "Redis failed")
|
||||
//}
|
||||
|
||||
status := struct {
|
||||
Status string `json:"status"`
|
||||
|
Reference in New Issue
Block a user