diff options
| author | Jeff Carr <[email protected]> | 2024-01-18 01:33:07 -0600 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-18 01:33:07 -0600 | 
| commit | 0659d10509ab24936be08a515a851017e6280d7d (patch) | |
| tree | 46d12360596807b6174354d4142143899475de5e | |
| parent | cbb54585e2cd7f48ed0eeb60cf7b14bde85bfaa5 (diff) | |
fix pathsv0.1.1
Signed-off-by: Jeff Carr <[email protected]>
| -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"  | 
