title: strings.Contains in switch-case GoLang
body: <p>Is it possible to use strings.Contains in switch case?
  something like:</p>
  <pre><code>func function(str string){
      switch str {
      case &quot;str1&quot;:
          ...
      case strings.Contains(&quot;test&quot;):
          ...
      default:
          ...
      }
  }
  </code></pre>
  <p>Edit: its an example, thats not the real case I need it for. Im filtering many results and I want all results that contains X and I also have cases that I need to fully match.</p>