Skip to content

irevenko/spamchk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

spamchk ๐Ÿ”Ž๐Ÿงพ

Go Reference

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

package main

import (
    "fmt"

    spam "github.com/irevenko/spamchk"
)

func main() {
    checkString := spam.IsStringSpam("Congrats you've won the Tesla car!")
    fmt.Println(checkString)
}

verify text file

package main

import (
    "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.

What I Learned ๐Ÿง 

  • Text Processing
  • How to create libraries in GoLang

License ๐Ÿ“‘

(c) 2021 Ilya Revenko. MIT License