Hi all, the ServerMux struct is currently defined as:
type ServeMux struct {
// other fields
m map[string]muxEntry
}
The muxEntry is then defined as:
type muxEntry struct {
h Handler
pattern string
}
Is there any reason for also storing the pattern in the muxEntry since it
*seems* like the lookup only happens using the key in the map of ServeMux?
Thanks for any insights.
Best Regards,
Amit
--
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/0e8090ca-de72-4a18-9c71-7d021f326ed7n%40googlegroups.com.