func (g *Gateway) FindAccountByEmail(email string) (*Account, error) {
	for _, account := range g.Accounts {
		if account.Email == email {
			return account, nil
		}
	}
	return nil, errors.New("Account Not Found")
}
FindAccountByEmail finds a bank account
package bank
import (
	"errors"
	"fmt"
	"time"
)
type AccountType uint8
const (
	AccountTypeCurrent AccountType = iota
	AccountTypeSaving
)
type Account struct {
	Owner string
	Email string
	Balance float64
	Currency string
}
type Transaction struct {
	FromAccount *Account
	ToAccount   *Account
	Amount      float64
	Date        time.Time
	Reason      string
}
type Gateway struct {
	Token string
	Accounts []*Account
}