This is invalid:
type BiMap[type V, K] struct {
forward map[K]V
reverse map[V]K
}
How do I specify an interface constraint for V,K such that this is valid?
Is that possible at all?
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/cbd45242-df42-482a-8581-eff882f6e1a8n%40googlegroups.com.