/username-blacklist

Username Blacklist checks blocklist of words, that you might not want to grant as a username.

Primary LanguageGoMozilla Public License 2.0MPL-2.0

username-blacklist

Go Reference Tests Go Report Card License

Username Blacklist checks usernames, that you might not want to grant as a username.

Installation

go get github.com/caffeines/username-blacklist

Usage

package main

import (
	"fmt"
	"github.com/caffeines/username-blacklist"
)

func main() {
	blacklisted := username_blacklist.Blacklisted("admin")
	fmt.Println("blacklisted:", blacklisted)
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

License

This project is released under the MPL2.0 License. See the bundled LICENSE file for details.

Credits