newsbot-api/domain/models/api.go

8 lines
163 B
Go

package models
type ApiError struct {
StatusCode int `json:"status"`
Message string `json:"message"`
Payload interface{} `json:"payload"`
}