The Go tour has a section on this that might be helpful:
https://tour.golang.org/methods/14
It matches any type, and should be avoided at all costs unless you
really know what you're doing. It sounds great, but it will probably
hurt you unless you have a deeper understanding of writing good Go code.
—Sam