summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}