diff --git a/dns/dns.go b/dns/dns.go index eee15c6..d25e3c5 100644 --- a/dns/dns.go +++ b/dns/dns.go @@ -7,6 +7,8 @@ import ( "regexp" "strconv" "time" + "sys/unix" + "go/packages" "github.com/miekg/dns" log "github.com/sirupsen/logrus" diff --git a/dns/doh.go b/dns/doh.go index d597642..d3632ff 100644 --- a/dns/doh.go +++ b/dns/doh.go @@ -8,6 +8,8 @@ import ( "fmt" "net" "net/http" + "net/ipv4" + "net/ipv6" "regexp" "sync" "time" diff --git a/util/config.go b/util/config.go index 6e5e9a0..a84fc87 100644 --- a/util/config.go +++ b/util/config.go @@ -4,8 +4,8 @@ import ( "fmt" "regexp" - "github.com/pterm/pterm" - "github.com/pterm/pterm/putils" + pterm "github.com/pterm/pterm" + putils "github.com/pterm/pterm/putils" ) type Config struct {