diff options
Diffstat (limited to 'testSort')
| -rw-r--r-- | testSort/Makefile | 34 | ||||
| -rw-r--r-- | testSort/main.go | 37 |
2 files changed, 0 insertions, 71 deletions
diff --git a/testSort/Makefile b/testSort/Makefile deleted file mode 100644 index 88a8320..0000000 --- a/testSort/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -VERSION = $(shell git describe --tags) -BUILDTIME = $(shell date +%Y.%m.%d) - -run: clean build - ./testSort - -vet: - @GO111MODULE=off go vet - @echo this go library package builds okay - -build: - GO111MODULE=off go build \ - -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" - -install: - GO111MODULE=off go install \ - -ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}" - -goimports: - goimports -w *.go - # // to globally reset paths: - # // gofmt -w -r "go.wit.com/gui -> go.wit.com/gui/gui" . - -redomod: - rm -f go.* - GO111MODULE= go mod init - GO111MODULE= go mod tidy - -reset: - # clear your terminal - reset - -clean: - -rm -f *.pb.go testSort diff --git a/testSort/main.go b/testSort/main.go deleted file mode 100644 index f20361f..0000000 --- a/testSort/main.go +++ /dev/null @@ -1,37 +0,0 @@ -package main - -import ( - "log" - - // "go.wit.com/apps/autogenpb/testautogen" -) - -func main() { - log.Println("empty because go mod tidy failed") - log.Println("why does go mod tidy fail when this is here?") - // go: go.wit.com/apps/autogenpb/testSort imports - // go.wit.com/apps/autogenpb/testautogen: cannot find module providing package go.wit.com/apps/autogenpb/testautogen: unrecognized import path "go.wit.com/apps/autogenpb/testautogen": parse https://go.wit.com/apps/autogenpb/testautogen?go-get=1: no go-import meta tags () - - /* - all := new(testautogen.GitTags) - // newt := new(testautogen.GitTag) - - new1 := testautogen.GitTag{ - Refname: "master", - Objectname: "blah", - } - all.Append(&new1) - - new2 := testautogen.GitTag{ - Refname: "devel", - Objectname: "j23jljalse", - } - all.Append(&new2) - - loop := all.SortByPath() - for loop.Scan() { - t := loop.Next() - log.Println("hello testSort t.Refname =", t.Refname, t.Objectname) - } - */ -} |
