Gowhois
whois command implemented by golang with awesome whois servers list
Install / Use
/learn @famasoon/GowhoisREADME
gowhois
gowhois is whois command implemented by Golang
Installation
go install github.com/famasoon/gowhois@latest
Usage
gowhois example.com
Importing
import (
"github.com/famasoon/gowhois/whois"
)
Example
Get whois on example.com
package main
import (
"fmt"
"github.com/famasoon/gowhois/whois"
)
func main() {
result, _ := whois.Whois("example.com")
fmt.Println(result)
}
Thanks
- When I implemented it, inspired whois-go (Developed by Li Kexian).
- Whois servers list provided by Cheena
