Skip to content

Commit

Permalink
Add comment; fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Jun 19, 2024
1 parent f445148 commit 4c557a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
}
Expand Down

0 comments on commit 4c557a6

Please sign in to comment.