How to send an interrupt signal
<p>I'm trying to implement a function that would call an interrupt signal in Go. I know how to intercept interrupt signals from the console, by using <code>signal.Notify(interruptChannel, os.Interrupt)</code>, however, I can't find a way to actually send the interrupt signals around. I've found that you <a href="https://golang.org/pkg/os/#Process.Signal" rel="noreferrer">can send a signal to a process</a>, but I'm not sure if this can be used to send a top-level interrupt signal.</p>
<p>Is there a way to send an interrupt signal from within a Go function that could be captured by anything that is listening for system interrupt signals, or is that something that's not supported in Go?</p>