There was an error while loading. Please reload this page.
1 parent 5af34d4 commit a4591c0Copy full SHA for a4591c0
BufIO/BufferedIO.go
@@ -35,11 +35,7 @@ func ReadFile(filename string) {
35
defer f.Close()
36
scanner := bufio.NewScanner(f)
37
for scanner.Scan() {
38
-<<<<<<< HEAD
39
-fmt.Println(scanner.Text()) // read as long there are strings
40
-=======
41
fmt.Println(scanner.Text())
42
->>>>>>> c7c9e92ebb7db5469ca9a80ac579e2f0c8d53264
43
}
44
if err := scanner.Err(); err != nil {
45
panic(err.Error()) // error handling
0 commit comments