title: golang read line by line
body: <p>I've started studying golang a bit and I'm absolutely unable to understand how I'm supposed to read line by line in the old-fashioned way:</p>
  
  <pre><code>while filehandler != EOF {
  line_buffer = readline(filehandler)
  }
  </code></pre>
  
  <p>I'm aware that I have to use bufio scanlines. This isn't what I am using as code, I'm merely trying to explain the idea. </p>