mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-29 09:43:22 +00:00
15 lines
173 B
Go
15 lines
173 B
Go
//go:build pprof
|
|
|
|
package main
|
|
|
|
import (
|
|
_ "net/http/pprof"
|
|
"net/http"
|
|
)
|
|
|
|
func init() {
|
|
go func() {
|
|
http.ListenAndServe("localhost:8080", nil)
|
|
}()
|
|
}
|