Closed porjo closed 1 year ago
matchingAccount
existingTransaction()
Why not use strings.EqualFold for the matching as well? I can't imagine a situation where you would want case sensitive account names.
strings.EqualFold
@nikkon226 good idea - done.
Looks good, thanks.
matchingAccount
should be set to the account name that exactly matches, otherwise use the last of the prefix matchesexistingTransaction()
should ignore whitespace at beginning/end of the payee string.