Compare commits

..

2 Commits

Author SHA1 Message Date
sammyette 53634bac0c
Merge eded38c7b5 into 9d5f5abef4 2023-12-25 19:01:02 -05:00
sammyette 9d5f5abef4
feat: add pprof 2023-12-18 21:31:04 -04:00
1 changed files with 14 additions and 0 deletions

14
pprof.go 100644
View File

@ -0,0 +1,14 @@
// +build pprof
package main
import (
_ "net/http/pprof"
"net/http"
)
func init() {
go func() {
http.ListenAndServe("localhost:8080", nil)
}()
}