diff --git a/example_test.go b/example_test.go new file mode 100644 index 0000000..6495a0d --- /dev/null +++ b/example_test.go @@ -0,0 +1,17 @@ +package forgepb_test + +import ( + "fmt" +) + +// --- Package examples --- + +// This example is copied from rill to understand golang docs +func Example() { + fmt.Println("nothing here yet") +} + +// This example is copied from rill to understand golang docs +func Example_batching() { + fmt.Println("nothing batching here yet") +} diff --git a/forgeConfig/main.go b/forgeConfig/main.go index ccb3596..1efa31e 100644 --- a/forgeConfig/main.go +++ b/forgeConfig/main.go @@ -20,12 +20,12 @@ func main() { if argv.List { repos.PrintTable() /* - log.Info(forgepb.RepoHeader()) - loop := repos.SortByPath() // get the list of repos - for loop.Scan() { - r := loop.Repo() - log.Info("repo:", r.GoPath) - } + log.Info(forgepb.RepoHeader()) + loop := repos.SortByPath() // get the list of repos + for loop.Scan() { + r := loop.Repo() + log.Info("repo:", r.GoPath) + } */ os.Exit(0) }