mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 11:24:04 +01:00
Fix linting
This commit is contained in:
parent
e6bb5f484c
commit
dc77efc31a
2 changed files with 3 additions and 4 deletions
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 a new issue