go-cook/api/domain/responses.go

13 lines
245 B
Go
Raw Normal View History

2024-03-31 17:46:04 -07:00
package domain
type ErrorResponse struct {
Success bool `json:"success"`
2024-03-31 17:46:04 -07:00
Message string `json:"message"`
}
type HelloWhoResponse struct {
Success bool `json:"success"`
Error string `json:"error"`
Message string `json:"message"`
}