diff --git a/cmd/gobl.html/serve.go b/cmd/gobl.html/serve.go index d4c2ecb..d706e79 100644 --- a/cmd/gobl.html/serve.go +++ b/cmd/gobl.html/serve.go @@ -19,7 +19,6 @@ import ( "github.com/invopop/gobl.html/pkg/pdf" "github.com/invopop/gobl/org" "github.com/labstack/echo/v4" - echopprof "github.com/sevenNt/echo-pprof" "github.com/spf13/cobra" ) @@ -69,8 +68,6 @@ func (s *serveOpts) runE(cmd *cobra.Command, _ []string) error { e.StaticFS("/styles", echo.MustSubFS(assets.Content, "styles")) e.GET("/:filename", s.generate) - echopprof.Wrap(e) - var startErr error go func() { err := e.Start(":" + s.port) diff --git a/go.mod b/go.mod index b49dc6b..4d3f349 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,6 @@ require ( github.com/labstack/echo/v4 v4.12.0 github.com/piglig/go-qr v0.2.4 github.com/pmezard/go-difflib v1.0.0 - github.com/sevenNt/echo-pprof v0.1.1-0.20230131020615-4dd36891e14b github.com/spf13/cobra v1.8.1 github.com/stretchr/testify v1.9.0 github.com/yosssi/gohtml v0.0.0-20201013000340-ee4748c638f4 diff --git a/go.sum b/go.sum index 0541a75..9f92270 100644 --- a/go.sum +++ b/go.sum @@ -65,8 +65,6 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/rogpeppe/go-internal v1.12.1-0.20240709150035-ccf4b4329d21 h1:igWZJluD8KtEtAgRyF4x6lqcxDry1ULztksMJh2mnQE= github.com/rogpeppe/go-internal v1.12.1-0.20240709150035-ccf4b4329d21/go.mod h1:RMRJLmBOqWacUkmJHRMiPKh1S1m3PA7Zh4W80/kWPpg= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sevenNt/echo-pprof v0.1.1-0.20230131020615-4dd36891e14b h1:IXGKwQZ6+llGbDFyTJvBXWGTkfrAqsbYwtVVm+Ax4WU= -github.com/sevenNt/echo-pprof v0.1.1-0.20230131020615-4dd36891e14b/go.mod h1:ArUb+H7+Tew7UUjK6x2xiAqFrznLrANIfz9M6m66J0c= github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=