I have golang SIGINT handler like this,
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
go func() {
<-sigs
log.Println("Received SIGINT, shutdown")
server.Shutdown(context.Background())
}()
When I press ^C it prints these
^C2019/09/24 02:48:51Received SIGINT, shutdown
I wanted to remove the ^C
, so I tried to print
\bReceived SIGINT, shutdown
But it does not work, any ideas?