bottin-agenda/responses/responses.go

28 lines
643 B
Go
Raw Normal View History

2023-06-03 20:41:13 -04:00
package responses
import (
"git.agecem.com/agecem/bottin-agenda/models"
)
2023-06-03 20:41:13 -04:00
2023-06-06 02:19:06 -04:00
type PostSeedResponse struct {
2023-06-03 20:41:13 -04:00
Message string `json:"message"`
2023-06-06 02:19:06 -04:00
}
type PostTransactionsResponseData struct {
Transactions []models.Transaction `json:"transactions"`
2023-06-06 02:19:06 -04:00
}
type PostTransactionsResponse struct {
Message string `json:"message"`
Data PostTransactionsResponseData `json:"data"`
2023-06-03 20:41:13 -04:00
}
type GetTransactionsResponseData struct {
Transactions []models.Transaction `json:"transactions"`
}
type GetTransactionsResponse struct {
Message string `json:"message"`
Data GetTransactionsResponseData `json:"data"`
}