This commit is contained in:
Gokcehan committed 2016-09-02 23:13:37 +03:00
1 parent 607cd7aeff
commit f81146ae1e
1 file changed
+1 -5
+1 -5
View File
@@ -1,7 +1,6 @@
package main
import (
"fmt"
"io"
"io/ioutil"
"log"
@@ -40,12 +39,9 @@ type Scanner struct {
}
func newScanner(r io.Reader) *Scanner {
// TODO: read input beforehand
buf, err := ioutil.ReadAll(r)
if err != nil {
msg := fmt.Sprintf("scanning: %s", err)
// app.ui.message = msg
log.Print(msg)
log.Printf("scanning: %s", err)
}
var eof bool