From 6f62f93569809f01b24e9f86c7ef0df50c8ddeaa Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 19 Jun 2023 21:57:26 +0300 Subject: add todo --- internal/config/config.go | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3