GetQueued will return the current queued content without flushing.
()
| 58 | |
| 59 | // GetQueued will return the current queued content without flushing. |
| 60 | func (w *ConditionalWrite) GetQueued() string { |
| 61 | t := w.Queued |
| 62 | s := w.Flush() |
| 63 | w.Queued = t |
| 64 | return s |
| 65 | } |
no test coverage detected