A sanitization-based swear filter for Go.
go get github.com/JoshuaDoes/gofuckyourself
An up to date example can be found in the example subdirectory.
> git clone https://github.com/JoshuaDoes/gofuckyourself
...
> cd gofuckyourself
> go run ./example "This is a fûçking A S S of a message with shitty swear words." fuck shit ass
Message: This is a fûçking A S S of a message with shitty swear words.
Swears: [ass fuck shit]
The source code for gofuckyourself is released under the MIT License. See LICENSE for more details.
All donations are appreciated and help me stay awake at night to work on this more. Even if it's not much, it helps a lot in the long run!