mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-17 03:42:26 +08:00
update
This commit is contained in:
14
main.go
14
main.go
@@ -2,18 +2,14 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
_ "net/http/pprof"
|
||||
|
||||
"github.com/EiBlog/utils/logd"
|
||||
// "net/http"
|
||||
// _ "net/http/pprof"
|
||||
)
|
||||
|
||||
func main() {
|
||||
// set log print level
|
||||
logd.SetLevel(logd.Ldebug)
|
||||
// pprof
|
||||
go func() {
|
||||
http.ListenAndServe(":6060", nil)
|
||||
}()
|
||||
// go func() {
|
||||
// http.ListenAndServe(":6060", nil)
|
||||
// }()
|
||||
Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user