diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | argv.go | 2 | ||||
| -rw-r--r-- | config.go | 10 | ||||
| -rw-r--r-- | main.go | 8 |
4 files changed, 13 insertions, 11 deletions
@@ -6,8 +6,10 @@ build-and-update: go build -v -o control-panel-cloudflare ./control-panel-cloudflare -build: +goget: go get -v -x . + +build: go build -v -o control-panel-cloudflare update: @@ -4,7 +4,7 @@ package main this enables command line options from other packages like 'gui' and 'log' */ -import ( +import ( arg "github.com/alexflint/go-arg" ) @@ -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 } @@ -1,10 +1,10 @@ package main -import ( - "go.wit.com/log" +import ( + "go.wit.com/bug/debugger" "go.wit.com/gui/gui" - "go.wit.com/gui/debugger" - "go.wit.com/gui/cloudflare" + "go.wit.com/lib/gui/cloudflare" + "go.wit.com/log" ) var title string = "Cloudflare DNS Control Panel" |
