Skip to content

Releases: sgoware/go-sensitive

v1.0.4

07 Feb 08:22
v1.0.4
9e695c2
Compare
Choose a tag to compare

add ahocorasick filter

v1.0.3

07 Jul 09:35
98f0955
Compare
Choose a tag to compare
fix: repo transfer

v1.0.1

26 Jan 17:01
b33ae91
Compare
Choose a tag to compare
  • add mysql storage support
  • add mongodb storage support

v1.0.0

26 Jan 14:31
78ca876
Compare
Choose a tag to compare

🌟 Feature

  • support multiple functions
    • Filter() return filtered text
    • Replace() return text which sensitive words that is been replaced
    • IsSensitive() Check whether the text has sensitive word
    • FindOne() return first sensitive word that has been found in the text
    • FindAll() return all sensitive word that has been found in the text
    • FindAllCount() return all sensitive word with its count that has been found in the text
  • support multiple data sources with dynamic modification
    • support memory storage
    • support multiple ways of add dict
    • support dynamic add/del sensitive word while running
  • support multiple filter algorithms
    • DFA use trie tree to filter sensitive words