summaryrefslogtreecommitdiff
path: root/testSort/main.go
blob: f20361fc1c54f4b5ae4c386230d0e4a13ddd4971 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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)
	}
	*/
}