silence go vet, staticcheck

This commit is contained in:
dhax 2024-07-24 23:44:32 +02:00
parent 42b391fe9b
commit f59f129354
5 changed files with 11 additions and 11 deletions

View file

@ -52,7 +52,7 @@ func (srv *Server) Start() {
}()
log.Printf("Listening on %s\n", srv.Addr)
quit := make(chan os.Signal)
quit := make(chan os.Signal, 1)
signal.Notify(quit, os.Interrupt)
sig := <-quit
log.Println("Shutting down server... Reason:", sig)