Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Rearrange const block to improve docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Mar 23, 2021
1 parent bddee4e commit 9690c02
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions moderation.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,11 @@ const (
Spam
Inappropriate = Profane | Offensive | Sexual | (Mean & Severe)
Any = Profane | Offensive | Sexual | Spam | Mean
)

const (
Mild Type = 0b111_111_111_111_111
Moderate = 0b110_110_110_110_110
Severe = 0b100_100_100_100_100
)

const (
countableTypes = 4

// A subset of the ASCII range that requires no sanitization
Expand Down

0 comments on commit 9690c02

Please sign in to comment.