title: Golang Sprintf formatting a string and using it multiple times
body: <p>I try to generate a sql query using <code>Sprintf()</code> where I have to use the same variable two times</p>
  
  <pre><code>myStr := "test"
  str := Sprintf("SELECT ... WHERE a = '%#[1]s' or b = '%#[1]s'", myStr)
  fmt.Println(str)
  </code></pre>
  
  <p>This snippets outputs the expected string</p>
  
  <pre><code>SELECT ... WHERE a = 'test' or b = 'test'
  </code></pre>
  
  <p>but <code>go vet</code> says:</p>
  
  <pre><code>unrecognized printf flag for verb 's': '#' (vet)
  </code></pre>
  
  <p>And I am puzzled why. Switching the printf verb to <code>v</code> satisfies <code>go vet</code> but adds <code>"</code> around my string. And I honestly doesn't see a mistake in using <code>%#[1]s</code>.</p>
  
  <p>Any thoughts?</p>