title: Golang Gorilla mux, best way to match against two url signatures
body: <p>Using gorilla mux, I currently have many URLs that are of the form: </p>
  
  <p>domain.com/org/{subdomain}/{name}/pagename</p>
  
  <p>such that the code looks like:</p>
  
  <pre><code>rtr.HandleFunc("/org/{subdomain}/{name}/promote", promoteView)
  </code></pre>
  
  <p>I'd like to also match against:</p>
  
  <p>subdomain.domain.com/{name}/pagename</p>
  
  <p>I know I can do something like</p>
  
  <pre><code>rtr.Host("{subdomain:[a-z]+}.domain.com").HandleFunc("/{name}/promote", promoteView)
  </code></pre>
  
  <p>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?</p>