remove log
This commit is contained in:
@@ -31,21 +31,10 @@ func main() {
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Println("before .Close")
|
||||
|
||||
// Wait here until CTRL-C or other term signal is received.
|
||||
fmt.Println("Bot is now running. Press CTRL-C to exit.")
|
||||
sc := make(chan os.Signal, 1)
|
||||
signal.Notify(sc, syscall.SIGINT, syscall.SIGTERM, os.Interrupt)
|
||||
<-sc
|
||||
|
||||
dgclient.Close()
|
||||
|
||||
fmt.Println("after .Close")
|
||||
// addr := fmt.Sprintf(":%s", env.Port)
|
||||
// fmt.Println("starting server at", addr)
|
||||
//
|
||||
// if err := http.ListenAndServe(addr); err != nil {
|
||||
// panic(err)
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user