Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
3e30960694 |
@@ -9,10 +9,6 @@ import (
|
||||
)
|
||||
|
||||
func NewHandler(prefixPath string, initFuncs ...func()) http.HandlerFunc {
|
||||
if prefixPath == "" {
|
||||
prefixPath = "/pprof"
|
||||
}
|
||||
|
||||
for _, fn := range initFuncs {
|
||||
fn()
|
||||
}
|
||||
|
Reference in New Issue
Block a user