Archived
1
0
Fork 0

refacto: Remove overengineered convertAction func

Because it can be simply replaced by a condition.

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2021-11-05 07:57:51 +01:00
commit fed6459f9d
No known key found for this signature in database
GPG key ID: FF42D23B580C89F7
4 changed files with 1 additions and 15 deletions

View file

@ -93,7 +93,6 @@ func (t *TelegramNotifier) formatMessage(templateFileName string, attachment int
"upper": strings.ToUpper,
"lower": strings.ToLower,
"convertCurrency": ConvertCurrency,
"convertAction": ConvertAction,
"formatBlockURL": FormatBlockURL,
"formatTransactionURL": FormatTransactionURL,
}