mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 14:18:12 +00:00
optimized wallet header calculation for better performance
160 ms for three wallets over 9500 transactions
This commit is contained in:
@@ -20,3 +20,8 @@ type WalletHeader struct {
|
||||
NextMonth int `json:"nextMonth"`
|
||||
Currency string `json:"currency"`
|
||||
}
|
||||
|
||||
type WalletTransactions struct {
|
||||
WalletId string
|
||||
Transactions []Transaction
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user