basic: GoString [WIP]

Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
2023-09-01 14:26:52 +00:00
parent 0cfb319d87
commit 56a9028c9d
+6
View File
@@ -86,3 +86,9 @@ func (doc *Document) String() string {
buf := doc.AsBuffer(WriteNewLine)
return buf.String()
}
// GoString generates a string output for "%#v"
func (Document) GoString() string {
var buf bytes.Buffer
return buf.String()
}