Bump routes v4 -> v5

Remplacer références GetV4 -> GetHealth

Ajouter package responses

Remplacer handlers.GetHealthResponse -> responses.GetHealth
This commit is contained in:
Victor Lacasse-Beaudoin 2023-06-02 16:33:13 -04:00
parent 9ac95672b9
commit 764093f99d
5 changed files with 20 additions and 17 deletions

6
responses/health.go Normal file
View file

@ -0,0 +1,6 @@
package responses
// GetHealth is the response type for handlers.GetHealth
type GetHealth struct {
Message string `json:"message"`
}