From c5043a352715dc591e48ecf54ec0afa71d405161 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Thu, 6 Mar 2025 09:45:01 -0300 Subject: [PATCH] style: format long line in New constructor --- router/router.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/router/router.go b/router/router.go index 6c604c2..59df498 100644 --- a/router/router.go +++ b/router/router.go @@ -13,7 +13,10 @@ import ( ) func New(assertions tinyssert.Assertions, log *slog.Logger, dev bool) http.Handler { - r := smalltrip.NewRouter(smalltrip.WithAssertions(assertions), smalltrip.WithLogger(log.WithGroup("smalltrip"))) + r := smalltrip.NewRouter( + smalltrip.WithAssertions(assertions), + smalltrip.WithLogger(log.WithGroup("smalltrip")), + ) r.Use(middleware.Logger(log.WithGroup("requests"))) if dev {