This commit is contained in:
2024-04-12 13:00:28 +03:00
parent ac84e48d8f
commit f1f5e1b712
13 changed files with 303 additions and 291 deletions

11
config/helpers.go Normal file
View File

@ -0,0 +1,11 @@
package config
func (c *Config) GetAccountByMonobankId(q string) ConfigAccount {
for _, row := range c.Accounts {
if row.MonobankId == q {
return row
}
}
return ConfigAccount{}
}