Fix linting
parent
e6bb5f484c
commit
dc77efc31a
3
Makefile
3
Makefile
|
@ -229,6 +229,9 @@ cli-build-results:
|
||||||
check: test fmt-check vet lint staticcheck
|
check: test fmt-check vet lint staticcheck
|
||||||
|
|
||||||
test: .PHONY
|
test: .PHONY
|
||||||
|
go test $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)')
|
||||||
|
|
||||||
|
testv: .PHONY
|
||||||
go test -v $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)')
|
go test -v $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)')
|
||||||
|
|
||||||
race: .PHONY
|
race: .PHONY
|
||||||
|
|
|
@ -1431,10 +1431,6 @@ func (s *Server) execManager() {
|
||||||
Info("Server stats")
|
Info("Server stats")
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Server) expireVisitors() {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
func (s *Server) runSMTPServer() error {
|
func (s *Server) runSMTPServer() error {
|
||||||
s.smtpServerBackend = newMailBackend(s.config, s.handle)
|
s.smtpServerBackend = newMailBackend(s.config, s.handle)
|
||||||
s.smtpServer = smtp.NewServer(s.smtpServerBackend)
|
s.smtpServer = smtp.NewServer(s.smtpServerBackend)
|
||||||
|
|
Loading…
Reference in New Issue