autogenpb/testSort/main.go

38 lines
944 B
Go

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)
}
*/
}