title: How can I close bufio.Reader/Writer in golang?
body: <p>How can I close <code>bufio.Reader</code> or <code>bufio.Writer</code> in golang?</p>
  
  <pre><code>func init(){
      file,_ := os.Create("result.txt")
      writer = bufio.NewWriter(file)
  }
  </code></pre>
  
  <p>Should I close <code>Writer</code>? or just use <code>file.Close()</code> will make <code>Writer</code> close?</p>