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,