got
github.com/forease/gotld
go get github.com/forease/gotld
got

github.com/forease/gotld

Get domain tld by go

by 实易科技

v0.0.0-20190808124948-c50ff635576b (see all)License:BSD-2-Clause
go get github.com/forease/gotld
Readme

gotld

Get domain's tld by go

Install gotld

go get github.com/forease/gotld

Import gotld

import "github.com/forease/gotld"

Use gotld

For example.

tld, domain, err := gotld.GetTld( *url )
if err != nil {
    fmt.Println( err )
    return
}
fmt.Printf( "TLD: %s, Domain: %s\n", tld.Tld, domain )

About

北京实易时代科技有限公司
Beijing ForEase Times Technology Co., Ltd.
http://www.forease.net

Contact me

Jonsen Yang
im16hot#gmail.com (replace # with @)

GitHub Stars

11

LAST COMMIT

3yrs ago

MAINTAINERS

0

CONTRIBUTORS

2

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v0.0.0-20140730071418-590a17e9b764
3yrs ago
v0.0.0-20190808124948-c50ff635576b
3yrs ago
No alternatives found
No tutorials found
Add a tutorial