added a ErrorResponse struct

This commit is contained in:
James Tombleson 2024-03-26 17:53:51 -07:00
parent f78d78d061
commit 872db5b9e9
1 changed files with 6 additions and 0 deletions

6
api/models/std.go Normal file
View File

@ -0,0 +1,6 @@
package models
type ErrorResponse struct {
HttpCode int `json:"code"`
Message string `json:"message"`
}