package storage import "errors" type Transaction struct { From string `json:"from"` To string `json:"to"` Category string `json:"category"` Amount float32 `json:"amount"` Timestamp int64 `json:"timestamp"` } func (s *Storage) Transactions(from, to int64, accounts ...Account) ([]Transaction, error) { return nil, errors.New("not impl") }