From 42fd5cf8be3debecb41886c5ce5456b86eba5ec6 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 17 Apr 2023 23:21:51 +0300 Subject: add todo --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index bd13680..5a953ba 100644 --- a/main.go +++ b/main.go @@ -53,6 +53,8 @@ func main() { defer cancel() output, status := check.execute(ctx) + // TODO: Send the results through a channel, so we dont have to put a mutex + // into state. state.update(name, output, status) }(entry.name, entry.check) } -- cgit v1.2.3