Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 766 Bytes

README.md

File metadata and controls

42 lines (33 loc) · 766 Bytes

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