From 4c557a698cf6099156403dd14dad9763c088c9e3 Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Tue, 18 Jun 2024 17:45:47 -0700 Subject: [PATCH] Add comment; fix lint --- app.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.go b/app.go index 510bbafb2..a131c2732 100644 --- a/app.go +++ b/app.go @@ -256,6 +256,9 @@ func (l loggerOption) String() string { return fmt.Sprintf("fx.Logger(%v)", l.p) } +// DisableSignalHandler disables fx's default signal handling. Instead relying +// on the Go's default signal handling, or the user's signal handling if they've +// registered with signal.Notify. func DisableSignalHandler() Option { return disableSignalHandler{} }