From 4e31a6763ddfb47d78cf5fbed964cb2c3594d861 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Sun, 30 Jul 2023 11:49:35 -0600 Subject: [PATCH] removed prints --- node.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/node.go b/node.go index d412ee8..75beda4 100644 --- a/node.go +++ b/node.go @@ -141,23 +141,14 @@ func SoonestSignal(signals []QueuedSignal) (*QueuedSignal, <-chan time.Time) { var soonest_time time.Time for i, signal := range(signals) { if signal.Time.Compare(soonest_time) == -1 || soonest_signal == nil { - print("SOONEST: ") - println(signal.Time.String()) soonest_signal = &signals[i] soonest_time = signal.Time } } if soonest_signal != nil { - print("QUEUE: ") - print(fmt.Sprintf("%+v", signals)) - print(" - SOONEST: ") - print(soonest_signal.Time.String()) - print(" : ") - println(soonest_signal.Signal.Type()) return soonest_signal, time.After(time.Until(soonest_signal.Time)) } else { - println("NONE_QUEUED") return nil, nil } }