I have a go routine running something like 'hash.sum(data)' using import " hash" that I want to terminate immediately in case of user wants to kill, I can not send channel to notify. I only can think of copying implementation but then I have to watch each update on library which I really dont want to mess with. Do you have any suggestions? Code is here
https://github.com/getsumio/getsum/blob/master/internal/supplier/gosupplier.go#L115 Thank you too much for help:) Burak -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/716c9b47-e84b-4aea-b061-45604fd1561e%40googlegroups.com.