title: Golang idiomatic way to remove a blank line from a multi-line string
body: <p>If I have a multi line string like</p>
  
  <pre><code>this is a line
  
  this is another line
  </code></pre>
  
  <p>what is the best way to remove the empty line? I could make it work by splitting, iterating, and doing a condition check, but is there a better way?</p>