log.Printf istead fmt.Printf to be uniform

This commit is contained in:
Daniel Krol 2022-07-29 13:43:27 -04:00
parent be0e022c92
commit 4ecf8538be

View file

@ -2,7 +2,6 @@ package server
import (
"encoding/json"
"fmt"
"log"
"net/http"
@ -198,6 +197,6 @@ func (s *Server) Serve() {
http.Handle(PathPrometheus, promhttp.Handler())
fmt.Println("Serving at localhost:8090")
log.Println("Serving at localhost:8090")
http.ListenAndServe("localhost:8090", nil)
}