https://github.com/picatz/tlds
🌍 Top-level domains made easy.
https://github.com/picatz/tlds
domains golang library tld
Last synced: about 1 year ago
JSON representation
🌍 Top-level domains made easy.
- Host: GitHub
- URL: https://github.com/picatz/tlds
- Owner: picatz
- Created: 2018-01-14T03:46:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-14T03:48:23.000Z (over 8 years ago)
- Last Synced: 2025-04-02T03:05:57.078Z (about 1 year ago)
- Topics: domains, golang, library, tld
- Language: Go
- Size: 2.93 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tlds
> Top-level domains made easy.
A simple [top-level domain](https://en.wikipedia.org/wiki/Top-level_domain) library for gophers.
## Installation
```
go get github.com/picatz/tlds
```
## Example Usage
```go
package main
import (
"fmt"
"github.com/picatz/tlds"
)
func main() {
for domain := range tlds.StreamAllDomains() {
fmt.Println(domain)
}
}
```