summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-09 11:22:16 -0500
committerJeff Carr <[email protected]>2025-10-09 13:15:59 -0500
commit7f6aebff966ca5f6020bbbd1776218151f2976bb (patch)
tree071891727902124f6653c041656599ffe093433f
parent4b311fe536849b3ceec682bd5df1c3c3d5ea72e4 (diff)
duh. I must need coffee. or sleep. or bothv0.0.16
-rw-r--r--findFilename.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/findFilename.go b/findFilename.go
index 658e068..9fb73a2 100644
--- a/findFilename.go
+++ b/findFilename.go
@@ -122,7 +122,11 @@ func GetString(pb proto.Message, varname string) (string, error) {
return value.String(), nil
}
-func PrintStrings(pb proto.Message) {
+// don't do this. use prototext.Format(pb)
+// duh. I'm dumb. I literally wasted my time + was being lazy so I
+// just asked asking Gemini AI to make some function for this
+// when, for years, I use prototext.Format() all over the place
+func printStrings(pb proto.Message) {
// 1. Get the protoreflect.Message interface.
msg := pb.ProtoReflect()