From 3ffdeaaaa7bc9af876f2eb72aafa011987b3c7e8 Mon Sep 17 00:00:00 2001 From: Sven Walter Date: Fri, 20 Sep 2024 14:07:42 +0200 Subject: [PATCH] fixup! add webutil.NewServer --- pkg/webutil/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/webutil/server.go b/pkg/webutil/server.go index 62b71ca..58272b7 100644 --- a/pkg/webutil/server.go +++ b/pkg/webutil/server.go @@ -113,7 +113,7 @@ func ProvideHandler(c *dig.Container, fn any) error { return c.Provide(fn, dig.Group("handler"), dig.As(new(Handler))) } -func New(p ServerParams) *Server { +func NewServer(p ServerParams) *Server { return &Server{ AssetFS: p.AssetFS, AssetPathPrefix: p.AssetPathPrefix,