Using gorilla mux, I currently have many URLs that are of the form:
such that the code looks like:
I'd like to also match against:
I know I can do something like
to match on the subdomain. Is it possible to only have one HandleFunc() that will match both types of URLs, or do I need to have two HandleFunc()s, one for the first case and one for the subdomain.domain.com case?