mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-08 15:52:25 +08:00
20 lines
259 B
Go
20 lines
259 B
Go
// Package main provides ...
|
|
package main
|
|
|
|
import (
|
|
"net/http"
|
|
_ "net/http/pprof"
|
|
|
|
"github.com/EiBlog/utils/logd"
|
|
)
|
|
|
|
func main() {
|
|
// set log print level
|
|
logd.SetLevel(logd.Ldebug)
|
|
// pprof
|
|
go func() {
|
|
http.ListenAndServe(":6060", nil)
|
|
}()
|
|
Run()
|
|
}
|