Hi, Pouriya. You can use signal.NotifyContext ( https://pkg.go.dev/os/signal#NotifyContext ) to handle os signals here https://github.com/pouriyajamshidi/flat/blob/master/cmd/flat.go#L58
Hi, Pouriya.
You can use signal.NotifyContext ( https://pkg.go.dev/os/signal#NotifyContext ) to handle os signals here https://github.com/pouriyajamshidi/flat/blob/master/cmd/flat.go#L58