ipld-eth-server/vendor/github.com/jbenet/go-is-domain/doc.go

14 lines
274 B
Go

/*
Package isdomain package allows users to check whether strings represent domain names.
import (
isd "github.com/jbenet/go-is-domain"
)
isd.IsDomain("foo.com") // true
isd.IsDomain("foo.bar.com.") // true
isd.IsDomain("foo.bar.baz") // false
*/
package isdomain