From b3e74fdb80222766bbbb05caaddb67323fe38015 Mon Sep 17 00:00:00 2001 From: kingecg Date: Tue, 1 Oct 2024 18:51:49 +0800 Subject: [PATCH] fix logger problem --- godaemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/godaemon.go b/godaemon.go index 93943bf..349a3e6 100644 --- a/godaemon.go +++ b/godaemon.go @@ -26,7 +26,7 @@ type GoDaemon struct { flag *string sigChan chan os.Signal state string - gologger.Logger + *gologger.Logger Running *exec.Cmd StartFn func(*GoDaemon)