79187094

Date: 2024-11-14 01:05:07
Score: 1.5
Natty:
Report link

You must flush the buffered writer.

func main() {
    f, _ := os.Create("bebra.txt")
    defer f.Close()
    w := bufio.NewWriter(f)
    fmt.Fprint(w, "bebra")
    w.Flush() // Add this line!
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rahul Ligma