fix paths

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-18 01:33:07 -06:00
parent cbb54585e2
commit 0659d10509
4 changed files with 13 additions and 11 deletions

View File

@ -6,8 +6,10 @@ build-and-update:
go build -v -o control-panel-cloudflare go build -v -o control-panel-cloudflare
./control-panel-cloudflare ./control-panel-cloudflare
build: goget:
go get -v -x . go get -v -x .
build:
go build -v -o control-panel-cloudflare go build -v -o control-panel-cloudflare
update: update:

View File

@ -4,7 +4,7 @@ package main
this enables command line options from other packages like 'gui' and 'log' this enables command line options from other packages like 'gui' and 'log'
*/ */
import ( import (
arg "github.com/alexflint/go-arg" arg "github.com/alexflint/go-arg"
) )

View File

@ -1,12 +1,12 @@
package main package main
import ( import (
"os"
"log"
"bufio" "bufio"
"log"
"os"
"strings" "strings"
"go.wit.com/gui/cloudflare" "go.wit.com/lib/gui/cloudflare"
) )
var configfile string = ".config/wit/cloudflare" var configfile string = ".config/wit/cloudflare"
@ -49,7 +49,7 @@ func readFileLineByLine(filename string) error {
line := scanner.Text() line := scanner.Text()
parts := strings.Fields(line) parts := strings.Fields(line)
if (len(parts) < 4) { if len(parts) < 4 {
log.Println("readFileLineByLine() SKIP =", parts) log.Println("readFileLineByLine() SKIP =", parts)
continue continue
} }

View File

@ -1,10 +1,10 @@
package main package main
import ( import (
"go.wit.com/log" "go.wit.com/bug/debugger"
"go.wit.com/gui/gui" "go.wit.com/gui/gui"
"go.wit.com/gui/debugger" "go.wit.com/lib/gui/cloudflare"
"go.wit.com/gui/cloudflare" "go.wit.com/log"
) )
var title string = "Cloudflare DNS Control Panel" var title string = "Cloudflare DNS Control Panel"