I need to change the get response below:
router.GET("/health", func(context *gin.Context) {
context.JSON(http.StatusOK, gin.H{
"message": "OK",
})
})
I need to create a dependency checker. A request should follow the following template:
{
"status": "OK",
"message": "Nenhum problema encontrado",
"dependencies": [
{
"name": "DEPENDENCIA",
"status": "OK",
}
]
}