I am receiving a message using the Go NSQ library where a field is a slice of map[string]string
's. I feel like I should be able to type assert this field as value.([]map[string]string)
but it's failing and I can't tell if this is expected or not.
This snippet replicates the behavior https://play.golang.org/p/qcZM880Nal
Why does this type assertion fail?