From 3916f1073de5895f35cefcbb9cda6c2e1d9adf2a Mon Sep 17 00:00:00 2001 From: Aleksey Dmitrevskiy Date: Fri, 22 Feb 2019 16:41:30 +0300 Subject: [PATCH] Use go tools --- dnsfilter/dnsfilter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsfilter/dnsfilter.go b/dnsfilter/dnsfilter.go index 5f0ad3ab..ec53121d 100644 --- a/dnsfilter/dnsfilter.go +++ b/dnsfilter/dnsfilter.go @@ -620,7 +620,7 @@ func (d *Dnsfilter) checkSafeSearch(host string) (Result, error) { return Result{}, nil } - res := Result {IsFiltered: true, Reason: FilteredSafeSearch} + res := Result{IsFiltered: true, Reason: FilteredSafeSearch} if ip := net.ParseIP(safeHost); ip != nil { res.IP = ip err = safeSearchCache.Set(host, res)