style: format long line in New constructor

This commit is contained in:
Guz
2025-03-06 09:45:01 -03:00
parent 1351cd0cde
commit c5043a3527

View File

@@ -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 {