/go-tld

Minimalistic library for keeping up to date with TLD checks.

Primary LanguageGoMIT LicenseMIT

GolangCI Version Go Report Card Coverage Status Go Reference

go-tld

Minimalistic library for keeping up to date with TLD checks.

Installation

go get github.com/lawzava/go-tld

Usage

package main

import "github.com/lawzava/go-tld"

func main() {
	tld.IsValid("com") // true
	tld.IsValid("xir") // false
}