func main() { defer core.ClosePackages() core.LoadPackages("config.json") waiter := module.Start() waiter.Wait() }
func main() { defer core.ClosePackages() core.LoadPackages("config.json") //usage: go tool pprof http://localhost:6060/debug/pprof/heap go func() { http.ListenAndServe("localhost:6060", nil) }() waiter := module.Start() waiter.Wait() }