Package ctrlc provides an easy way of having a task that is context-aware and that also deals with interrupt and term signals.
go get github.com/caarlos0/ctrlcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Runs a function with automatic handling of Ctrl+C and context cancellation.
No known issues recorded.
No dependency data recorded yet.