title: Gin wildcard route conflicts with existing children
body: <p>I'd like to build a <a href="https://github.com/gin-gonic/gin" rel="nofollow noreferrer"><code>gin</code></a> program which serves the following routes:</p>
  
  <pre><code>r.GET("/special", ... // Serves a special resource.
  r.Any("/*", ...       // Serves a default resource.
  </code></pre>
  
  <p>However, such a program panics at runtime:</p>
  
  <pre class="lang-none prettyprint-override"><code>[GIN-debug] GET    /special                  --&gt; main.main.func1 (2 handlers)
  [GIN-debug] GET    /*                        --&gt; main.main.func2 (2 handlers)
  panic: wildcard route '*' conflicts with existing children in path '/*'
  </code></pre>
  
  <p>Is it possible to create a gin program which serves a default resource for every route <em>except</em> for a single one which serves a different resource?</p>
  
  <p>Many pages on the web lead me to believe it is not possible using the default gin router, so what is the easiest way to serve these routes from a gin program?</p>