From b82aaee05da5742e4877bfb7e9b11f41cc7da67c Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Tue, 14 Nov 2023 16:59:09 -0700 Subject: [PATCH] Architecture Goal --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d163890..62447b0 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ It syncs your balance like magic! ### Architecture +No bloat, uses only the standard library, separate all integrations into their own package. + #### Main Package Each account provider / integration is defined in its own package and adheres to the interface specified in accountProviders.go. When the program starts, init() inside main.go attempts to configure all providers, and uses providers where configuration succeeds and ignores providers if configuration fails (eg: missing environment variable or config file). init() will run again if SIGHUP is received to reload configuration.