diff options
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,12 +1,12 @@ package main -import ( - "os" - "log" +import ( "bufio" + "log" + "os" "strings" - "go.wit.com/gui/cloudflare" + "go.wit.com/lib/gui/cloudflare" ) var configfile string = ".config/wit/cloudflare" @@ -49,7 +49,7 @@ func readFileLineByLine(filename string) error { line := scanner.Text() parts := strings.Fields(line) - if (len(parts) < 4) { + if len(parts) < 4 { log.Println("readFileLineByLine() SKIP =", parts) continue } |
