Refactor to use one module per concept

This makes code navigation easier.

Signed-off-by: Jacob Kiers <code@kiers.eu>
This commit is contained in:
2024-02-29 21:41:11 +01:00
parent 2874d8dba0
commit 54cec9ac04
6 changed files with 320 additions and 282 deletions

View File

@@ -5,8 +5,10 @@ fn main() -> Result<()> {
let cfg = BunqConfig::load()?;
let cfg = cfg.install()?;
let accs = cfg.monetary_accounts()?;
println!("{:#?}", accs);
let acc = &accs[0];
let ps = cfg.payments(acc)?;
println!("{:#?}", ps);