Username Blacklist checks usernames, that you might not want to grant as a username.
go get github.com/caffeines/username-blacklist
package main
import (
"fmt"
"github.com/caffeines/username-blacklist"
)
func main() {
blacklisted := username_blacklist.Blacklisted("admin")
fmt.Println("blacklisted:", blacklisted)
}
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.
This project is released under the MPL2.0 License. See the bundled LICENSE file for details.