WriteFlush will add a string and return the Flush result for the queue
(s string)
| 52 | |
| 53 | // WriteFlush will add a string and return the Flush result for the queue |
| 54 | func (w *ConditionalWrite) WriteFlush(s string) string { |
| 55 | w.Write(s) |
| 56 | return w.Flush() |
| 57 | } |
| 58 | |
| 59 | // GetQueued will return the current queued content without flushing. |
| 60 | func (w *ConditionalWrite) GetQueued() string { |
no test coverage detected