Ajouter field Response.Error

This commit is contained in:
Victor Lacasse-Beaudoin 2023-08-19 19:25:13 -04:00
parent 8cce7414ef
commit 6b19aa8db6

View file

@ -7,6 +7,7 @@ type Responder interface {
type Response struct {
StatusCode int `json:"status_code"`
Message string
Error string
}
func (r Response) Respond() Responder {