Ajouter field Response.Error
This commit is contained in:
parent
8cce7414ef
commit
6b19aa8db6
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ type Responder interface {
|
|||
type Response struct {
|
||||
StatusCode int `json:"status_code"`
|
||||
Message string
|
||||
Error string
|
||||
}
|
||||
|
||||
func (r Response) Respond() Responder {
|
||||
|
|
Loading…
Reference in a new issue