summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-06-19 21:57:26 +0300
committerPaul Buetow <paul@buetow.org>2023-06-19 21:57:26 +0300
commit6f62f93569809f01b24e9f86c7ef0df50c8ddeaa (patch)
tree70503c34c4167c90734583b485c661e839e86b49
parentaf2d61921f76cfc0696d4a8caf457fc91ae472d8 (diff)
add todo
-rw-r--r--internal/config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index dcec535..31b6644 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -21,6 +21,8 @@ type Config struct {
nodeNumberCache map[string]int
}
+// TODO Refactor all unit tests to use a constructor here
+// and to initialize the nodeNumberCache inside of the constructor!
func New(configFile string) (Config, error) {
var c Config