Fix: SmuggleError nil panic-a

This commit is contained in:
kayos@tcp.direct 2021-09-29 20:37:56 -07:00
parent 20f0ec6167
commit 7953b36b2a

14
example/main.go Normal file
View File

@ -0,0 +1,14 @@
package main
import (
"fmt"
"os"
"github.com/yunginnanet/Name5"
)
func main() {
dnsmap := Name5.NewDNSMap(os.Args[1])
fmt.Println(dnsmap.IPToPTR, "\n\n")
fmt.Println(dnsmap.NameToIP)
}