What do you define as equal? Are two closures captured from the same plave equal, or are they different because of the variables they close over?
If you have a slice of funcs which you know have unique names you might be able to use this to compare the funcs by name: http://stackoverflow.com/questions/7052693/how-to-get-the-name-of-a-function-in-go
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@example.com.
For more options, visit https://groups.google.com/d/optout.