summaryrefslogtreecommitdiff
path: root/pkg/srv
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/srv')
-rw-r--r--pkg/srv/srv.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/srv/srv.go b/pkg/srv/srv.go
index ccd02e0..e718940 100644
--- a/pkg/srv/srv.go
+++ b/pkg/srv/srv.go
@@ -1,11 +1,11 @@
package srv
import (
+ "log"
"net/http"
"time"
"gitlab.com/mokhax/spike/pkg/cfg"
- xlog "gitlab.com/mokhax/spike/pkg/log"
)
func New(c *cfg.Config) *http.Server {
@@ -17,7 +17,7 @@ func New(c *cfg.Config) *http.Server {
ReadTimeout: 30 * time.Second,
WriteTimeout: 30 * time.Second,
IdleTimeout: 30 * time.Second,
- ErrorLog: xlog.Default,
+ ErrorLog: log.Default(),
}
}