Skip to content

Commit

Permalink
Set up pprof
Browse files Browse the repository at this point in the history
Signed-off-by: James Hamlin <[email protected]>
  • Loading branch information
jfhamlin committed Apr 20, 2024
1 parent f882bcf commit 416c432
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@ import (
"github.com/wailsapp/wails/v2"
"github.com/wailsapp/wails/v2/pkg/options"
"github.com/wailsapp/wails/v2/pkg/options/assetserver"

// pprof

_ "net/http/pprof"
)

// func init() {
// go func() {
// log.Println(http.ListenAndServe("localhost:6060", nil))
// }()
// }

//go:embed all:frontend/dist
var assets embed.FS

Expand Down

0 comments on commit 416c432

Please sign in to comment.