@@ -1,6 +1,10 @@
|
||||
package bank
|
||||
|
||||
import "context"
|
||||
|
||||
type Agg interface {
|
||||
Accounts(context.Context) ([]Account, error)
|
||||
Transactions(context.Context, Account) ([]Transaction, error)
|
||||
}
|
||||
|
||||
type Account struct {
|
||||
|
||||
Reference in New Issue
Block a user