go-cook/api/domain/responses.go

13 lines
243 B
Go
Raw Normal View History

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