reset

command
v0.5.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 5 Imported by: 0

README

実行方法

go-task経由で実行すると go-task がシグナルをハンドリングしてしまうので

本サンプルに関しては、直接実行する必要があります。

$ go run .
5秒間 SIGINT をハンドリング
^CCTRL-C PRESSED
^CCTRL-C PRESSED
^CCTRL-C PRESSED
signal.Reset() CALLED
^Csignal: interrupt

Documentation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL