Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateTransactionRequest ¶
type CreateTransactionRequest struct { Type storage.TransactionType `json:"type" validate:"required"` Amount float64 `json:"amount" validate:"required"` FromAccountID uint `json:"fromAccountID"` ToAccountID uint `json:"toAccountID"` SubCategory string `json:"subCategory" validate:"required"` TxTime time.Time `json:"txTime" validate:"required"` }
CreateTransactionRequest ...
type ListTransactionsResponse ¶
type ListTransactionsResponse struct {
Items []Transaction `json:"items"`
}
Click to show internal directories.
Click to hide internal directories.