Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JoshuaDoes/gofuckyourself
/ functions
Functions
10 in github.com/JoshuaDoes/gofuckyourself
⨍
Functions
10
◇
Types & classes
1
↓ 3 callers
Method
Check
Check will return any words that trip an enabled swear filter, an error if any, or nothing if you've removed all the words for some reason
swearfilter.go:83
↓ 3 callers
Function
NewSwearFilter
NewSwearFilter returns an initialized SwearFilter struct to check messages against
swearfilter.go:71
↓ 1 callers
Method
Add
Add appends the given word to the uhohwords list
swearfilter.go:189
↓ 1 callers
Method
Delete
Delete deletes the given word from the uhohwords list
swearfilter.go:203
↓ 1 callers
Method
Words
Words return the uhohwords list
swearfilter.go:213
↓ 1 callers
Method
normalizeLeetSpeak
(message string)
swearfilter.go:154
Function
TestCheck
(t *testing.T)
swearfilter_test.go:124
Function
TestCheckAndAddDelete
(t *testing.T)
swearfilter_test.go:31
Function
TestNew
(t *testing.T)
swearfilter_test.go:7
Function
main
()
example/main.go:11