summaryrefslogtreecommitdiff
path: root/findFilename.go
diff options
context:
space:
mode:
Diffstat (limited to 'findFilename.go')
-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()