I was looking into using structs as keys in golang maps. A field in this struct is supposed to be a map also and this seems to go against the documentation provided here which s
only comparable type can be used as a key (== ,!=). struct (not a pointer) is comparable in case it contains only comparable types.