chore: adjust table name code
This commit is contained in:
@@ -49,10 +49,10 @@ func main() {
|
|||||||
|
|
||||||
logrus.WithFields(logrus.Fields{
|
logrus.WithFields(logrus.Fields{
|
||||||
"prefix": fmt.Sprintf("[PID:%d]", os.Getpid()),
|
"prefix": fmt.Sprintf("[PID:%d]", os.Getpid()),
|
||||||
}).Infof("start message server listening http://0.0.0.0%s", endPoint)
|
}).Infof("start message server @ http://0.0.0.0%s", endPoint)
|
||||||
|
|
||||||
err := server.ListenAndServe()
|
err := server.ListenAndServe()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logrus.Error("Server err: ", err)
|
logrus.Errorf("Server err: ", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user