Bytes returns formatted text as a byte slice.
()
| 56 | |
| 57 | // Bytes returns formatted text as a byte slice. |
| 58 | func (f *Formatter) Bytes() []byte { |
| 59 | return f.buf.Bytes() |
| 60 | } |
| 61 | |
| 62 | // String returns formatted text as a string. |
| 63 | func (f *Formatter) String() string { |
no outgoing calls