Check which interfaces a Go type implements