mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-26 16:41:53 +08:00
Use golint to normalize the code (#1)
This commit is contained in:
@@ -272,7 +272,7 @@ func (s *Server) ServeDNS(w dns.ResponseWriter, req *dns.Msg) {
|
||||
|
||||
// Close will close the server.
|
||||
func (s *Server) Close() {
|
||||
defer func() { recover() }()
|
||||
defer func() { recover() }() // nolint:errcheck
|
||||
close(s.close)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user