Skip to content

Commit

Permalink
Removing profiling test
Browse files Browse the repository at this point in the history
  • Loading branch information
samlown committed Oct 15, 2024
1 parent 52eee08 commit 3365ba5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions cmd/gobl.html/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 3365ba5

Please sign in to comment.