summaryrefslogtreecommitdiff
path: root/repo.helpers.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-04 18:34:39 -0500
committerJeff Carr <[email protected]>2025-09-04 18:34:39 -0500
commit1e0f1e8e882ca7f253240e225e4629d07ea3455d (patch)
tree134898eb1f549da768d04e2ba2935c62bffbf5ca /repo.helpers.go
parenta4a48d74800448f6b5d80b6be84d368864302455 (diff)
work on sending tables to stdout also
Diffstat (limited to 'repo.helpers.go')
-rw-r--r--repo.helpers.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo.helpers.go b/repo.helpers.go
new file mode 100644
index 0000000..6159b35
--- /dev/null
+++ b/repo.helpers.go
@@ -0,0 +1,19 @@
+// Code generated by go.wit.com/apps/autogenpb DO NOT EDIT.
+// This file was autogenerated with autogenpb v0.0.78 2025-08-31_15:49:04_UTC
+// go install go.wit.com/apps/autogenpb@latest
+//
+// define which structs (messages) you want to use in the .proto file
+// Then sort.pb.go and marshal.pb.go files are autogenerated
+//
+// autogenpb uses it and has an example .proto file with instructions
+//
+
+package gitpb
+
+func (t *ReposTable) MyMasterBranch() *RepoStringFunc {
+ sf := t.AddStringFunc("master", func(m *Repo) string {
+ return m.MasterBranchName
+ })
+ // sf.Width = 30
+ return sf
+}