summaryrefslogtreecommitdiff
path: root/marshal.go
diff options
context:
space:
mode:
Diffstat (limited to 'marshal.go')
-rw-r--r--marshal.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/marshal.go b/marshal.go
index 9f01cae..07042f0 100644
--- a/marshal.go
+++ b/marshal.go
@@ -38,9 +38,9 @@ func marshalThing(w io.Writer, thing string) {
fmt.Fprintln(w, " return protojson.Format(r)")
fmt.Fprintln(w, "}")
fmt.Fprintln(w, "")
- fmt.Fprintln(w, "// apparently this isn't supposed to be used?")
+ fmt.Fprintln(w, "// apparently this isn't stable")
fmt.Fprintln(w, "// https://protobuf.dev/reference/go/faq/#unstable-text")
- fmt.Fprintln(w, "// this is a shame because this is much nicer output than JSON Format()")
+ fmt.Fprintln(w, "// but it's so awesome I'm using it by default to try to fix the problems with it")
fmt.Fprintln(w, "func (r *"+thing+") FormatTEXT() string {")
fmt.Fprintln(w, " return prototext.Format(r)")
fmt.Fprintln(w, "}")