feat: Detect profanity using Writer Interface #123

Closed
opened 2025-07-18 15:35:49 -04:00 by EliCDavis · 1 comment
EliCDavis commented 2025-07-18 15:35:49 -04:00 (Migrated from github.com)

Describe the feature request

Create a type that implements io.Writer that censors the input given to it before writing to it's underlying stream.

Why do you personally want this feature to be implemented?

I recursively compile thousands of markdown documents and write them to different writers. It'd be nice to wrap my writers with something that automatically removes the profanity.

Right now I never load anything ever completely into memory at once and I'd like to be able to keep it that way.

How long have you been using this project?

No response

Additional information

No response

### Describe the feature request Create a type that implements `io.Writer` that censors the input given to it before writing to it's underlying stream. ### Why do you personally want this feature to be implemented? I recursively compile thousands of markdown documents and write them to different writers. It'd be nice to wrap my writers with something that automatically removes the profanity. Right now I never load anything ever completely into memory at once and I'd like to be able to keep it that way. ### How long have you been using this project? _No response_ ### Additional information _No response_
TwiN commented 2025-07-18 15:36:57 -04:00 (Migrated from github.com)

Sounds reasonable to me. Feel free to give it a shot if you have the time to implement it

Sounds reasonable to me. Feel free to give it a shot if you have the time to implement it
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TwiN/go-away#123
No description provided.