feat: Support Writer #124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/writer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a new struct that implements the
io.Writerinterface.I had to make a judgement call to buffer the writer input to only write when it sees line breaks to allow for all the different opportunities to censor words to take place. I'm not exactly happy with this decision, and am open to suggestions on better ways to buffer the input such that the buffer size is minimized
Relevant issue: #123
Checklist
README.md, if applicable.Released in https://github.com/TwiN/go-away/releases/tag/v1.7.0