Open pilebones opened 3 years ago
https://github.com/pilebones/go-udev/blob/master/netlink/conn.go#L126
Change historical interface
func (c *UEventConn) Monitor(queue chan UEvent, errs chan error, matcher Matcher) chan struct{} {
By something like that:
func (c *UEventConn) Monitor(ctx context.Context, queue chan UEvent, errs chan error, matcher Matcher) {
https://github.com/pilebones/go-udev/blob/master/netlink/conn.go#L126
Change historical interface
By something like that: