A tiny Go library which checks text for spam
The lib is a client for Plino - spam filtering system
It is suitable for e-mail or SMS verification but feel free to try and find out what it works good with!
package main
import (
"fmt"
spam "github.com/irevenko/spamchk"
)
func main() {
checkString := spam.IsStringSpam("Congrats you've won the Tesla car!")
fmt.Println(checkString)
}
package main
import (
"fmt"
spam "github.com/irevenko/spamchk"
)
func main() {
checkFile := spam.IsTextFileSpam("test.txt")
fmt.Println(checkFile)
}
Contributions, issues and feature requests are welcome! π
Feel free to check open issues.
- Text Processing
- How to create libraries in GoLang
(c) 2021 Ilya Revenko. MIT License