https://github.com/irevenko/spamchk
๐โ ๏ธ A tiny spam detection library
https://github.com/irevenko/spamchk
go golang golang-library golang-package library spam
Last synced: 5 months ago
JSON representation
๐โ ๏ธ A tiny spam detection library
- Host: GitHub
- URL: https://github.com/irevenko/spamchk
- Owner: irevenko
- License: mit
- Created: 2021-01-25T23:07:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-29T06:00:29.000Z (over 4 years ago)
- Last Synced: 2024-06-19T06:54:17.422Z (over 1 year ago)
- Topics: go, golang, golang-library, golang-package, library, spam
- Language: Go
- Homepage: https://pkg.go.dev/github.com/irevenko/spamchk
- Size: 50.8 KB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spamchk ๐๐งพ
[](https://pkg.go.dev/github.com/irevenko/spamchk)
> 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!# Usage ๐ฅ
### verify string
```go
package mainimport (
"fmt"spam "github.com/irevenko/spamchk"
)func main() {
checkString := spam.IsStringSpam("Congrats you've won the Tesla car!")
fmt.Println(checkString)
}
```
### verify text file
```go
package mainimport (
"fmt"spam "github.com/irevenko/spamchk"
)func main() {
checkFile := spam.IsTextFileSpam("test.txt")
fmt.Println(checkFile)
}
```# Contributing ๐ค
Contributions, issues and feature requests are welcome! ๐
Feel free to check [open issues](https://github.com/irevenko/what-anime-cli/issues).# What I Learned ๐ง
- Text Processing
- How to create libraries in GoLang# License ๐
(c) 2021 Ilya Revenko. [MIT License](https://tldrlegal.com/license/mit-license)