From 7f6aebff966ca5f6020bbbd1776218151f2976bb Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 9 Oct 2025 11:22:16 -0500 Subject: duh. I must need coffee. or sleep. or both --- findFilename.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3