mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
golint
This commit is contained in:
@@ -59,6 +59,7 @@ func (f HandlerFunc) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.
|
||||
return f(ctx, w, r)
|
||||
}
|
||||
|
||||
// Name implements the Handler interface.
|
||||
func (f HandlerFunc) Name() string { return "handlerfunc" }
|
||||
|
||||
// Error returns err with 'middleware/name: ' prefixed to it.
|
||||
|
||||
Reference in New Issue
Block a user