title: What is the best way to test for an empty string in Go?
body: <p>Which method is best (most idomatic) for testing non-empty strings (in Go)?</p>
  <pre><code>if len(mystring) &gt; 0 { }
  </code></pre>
  <p>Or:</p>
  <pre><code>if mystring != &quot;&quot; { }
  </code></pre>
  <p>Or something else?</p>