newsbot-api/domain/models/api.go

8 lines
163 B
Go
Raw Normal View History

2022-12-10 11:12:53 -08:00
package models
type ApiError struct {
StatusCode int `json:"status"`
Message string `json:"message"`
Payload interface{} `json:"payload"`
}