We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d134f commit 1ffe4fdCopy full SHA for 1ffe4fd
docs/docs/mapping/custom_marshalers.md
@@ -27,7 +27,7 @@ type YourMarshaler struct {
27
28
// ...
29
30
-func (*YourMarshaler) Delimited() []byte {
+func (*YourMarshaler) Delimiter() []byte {
31
return []byte("|")
32
}
33
```
@@ -59,7 +59,7 @@ type CustomJSONPb struct {
59
runtime.JSONPb
60
61
62
-func (*CustomJSONPb) Delimited() []byte {
+func (*CustomJSONPb) Delimiter() []byte {
63
// Strictly speaking this is already the default delimiter for JSONPb, but
64
// providing it here for completeness with an NDJSON marshaler all in one
65
// place.
0 commit comments