A quick&dirty implementation would look likes this

https://gist.github.com/mh-cbon/9eb7701e57a8f37bb7e62647dc9726e8

And for my last Q, 
http://stackoverflow.com/questions/21447463/is-assigning-a-pointer-atomic-in-golang

If you have anything battled tested pkg i d be happy to see it in action!

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to