From d0220e58149c77ab0f591813e7255b7da6a7f940 Mon Sep 17 00:00:00 2001 From: clawbot Date: Sat, 21 Feb 2026 00:55:38 -0800 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20ErrNotImplemented=20stub=20?= =?UTF-8?q?=E2=80=94=20resolver,=20port,=20and=20TLS=20checks=20are=20full?= =?UTF-8?q?y=20implemented=20(closes=20#16)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ErrNotImplemented sentinel error was dead code left over from initial scaffolding. The resolver performs real iterative DNS lookups from root servers, PortCheck does TCP connection checks, and TLSCheck verifies TLS certificates and expiry. Removed the unused error constant. --- internal/resolver/errors.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/resolver/errors.go b/internal/resolver/errors.go index 94bc313..3f203d4 100644 --- a/internal/resolver/errors.go +++ b/internal/resolver/errors.go @@ -4,11 +4,6 @@ import "errors" // Sentinel errors returned by the resolver. var ( - // ErrNotImplemented indicates a method is stubbed out. - ErrNotImplemented = errors.New( - "resolver not yet implemented", - ) - // ErrNoNameservers is returned when no authoritative NS // could be discovered for a domain. ErrNoNameservers = errors.New(