-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdomainchecker.go
33 lines (28 loc) · 1.05 KB
/
domainchecker.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package main
import (
"fmt"
"os"
// Load necessary domainprovider.
_ "github.com/KeizerDev/domainchecker/domainproviders/dotbe"
_ "github.com/KeizerDev/domainchecker/domainproviders/dotcom"
_ "github.com/KeizerDev/domainchecker/domainproviders/dotde"
_ "github.com/KeizerDev/domainchecker/domainproviders/doteu"
_ "github.com/KeizerDev/domainchecker/domainproviders/dotio"
_ "github.com/KeizerDev/domainchecker/domainproviders/dotnet"
_ "github.com/KeizerDev/domainchecker/domainproviders/dotnl"
_ "github.com/KeizerDev/domainchecker/domainproviders/dotorg"
// Load necessary providers.
_ "github.com/KeizerDev/domainchecker/providers/enom"
_ "github.com/KeizerDev/domainchecker/providers/godaddy"
_ "github.com/KeizerDev/domainchecker/providers/googledomains"
_ "github.com/KeizerDev/domainchecker/providers/namecheap"
_ "github.com/KeizerDev/domainchecker/providers/transip"
"github.com/KeizerDev/domainchecker/cmd"
)
func main() {
setupSignalHandlers()
if err := cmd.SearchCmd.Execute(); err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}