From a5ba4cd855bd7b9231f4938a0f1d5a165379801a Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 30 Jun 2023 19:30:17 -0400 Subject: [PATCH] Load plugins on start --- tomo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tomo.go b/tomo.go index ab69830..7920ac7 100644 --- a/tomo.go +++ b/tomo.go @@ -9,6 +9,8 @@ var backend Backend // event loop in that order. This function blocks until Stop is called, or the // backend experiences a fatal error. func Run (callback func ()) error { + loadPlugins() + if backend != nil { return errors.New("there is already a backend running") }