summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-10 20:58:07 -0500
committerJeff Carr <[email protected]>2025-10-11 04:32:13 -0500
commit8662ccb4a5b65d4b1ec1da85426cce3fdccaf33b (patch)
treee2ed1a483b8a18896485e6e93d558e1cc87f715a
parent3051255baec96c599de54ad883cc7310877b43be (diff)
okay
-rw-r--r--printDebInfo.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/printDebInfo.go b/printDebInfo.go
index 6ed5b8d..8bf61cc 100644
--- a/printDebInfo.go
+++ b/printDebInfo.go
@@ -34,7 +34,7 @@ func printDebInfoStrings(pb proto.Message) error {
// 4. Check if the nested message is valid and has been set.
if !debInfoMsg.IsValid() {
- fmt.Printf("--- Field '%s' in [%s] is not set. --- ", debInfoFieldDesc.Name(), descriptor.FullName())
+ fmt.Printf("--- Field '%s' in [%s] is not set. --- \n", debInfoFieldDesc.Name(), descriptor.FullName())
return nil // Not an error, just nothing to print.
}
@@ -42,7 +42,7 @@ func printDebInfoStrings(pb proto.Message) error {
debInfoDescriptor := debInfoMsg.Descriptor()
fields := debInfoDescriptor.Fields()
- fmt.Printf("--- Listing String Fields in '%s' --- ", debInfoFieldDesc.Name())
+ fmt.Printf("--- Listing String Fields in '%s' --- \n", debInfoFieldDesc.Name())
foundStrings := false
for i := 0; i < fields.Len(); i++ {
fieldDesc := fields.Get(i)
@@ -54,7 +54,7 @@ func printDebInfoStrings(pb proto.Message) error {
fieldName := fieldDesc.Name()
// Print the result.
- fmt.Printf(" %s: \"%s\"\n", fieldName, value)
+ fmt.Printf("%s: \"%s\"\n", fieldName, value)
foundStrings = true
}
}