String returns formatted text as a string.
()
| 61 | |
| 62 | // String returns formatted text as a string. |
| 63 | func (f *Formatter) String() string { |
| 64 | return f.buf.String() |
| 65 | } |
| 66 | |
| 67 | // WriteTo writes formatted text to w. |
| 68 | // It implements [io.WriterTo] interface. |