autogenpb/testSort/main.go

34 lines
555 B
Go
Raw Normal View History

package main
import (
"log"
2024-11-30 00:16:51 -06:00
// "go.wit.com/apps/autogenpb/testautogen"
)
func main() {
2024-11-30 00:16:51 -06:00
log.Info("empty because go mod tidy failed")
/*
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)
}
2024-11-30 00:16:51 -06:00
*/
}