bottin/responses/root.go

16 lines
202 B
Go
Raw Permalink Normal View History

2023-09-05 16:14:54 -04:00
package responses
type Response struct {
StatusCode int
Message string
Error string
}
type Responder interface {
Respond() Responder
}
func (r Response) Respond() Responder {
return r
}