Use go tools

This commit is contained in:
Aleksey Dmitrevskiy 2019-02-22 16:41:30 +03:00
parent 623c3bba09
commit 3916f1073d
1 changed files with 1 additions and 1 deletions

View File

@ -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)