格式化代码

This commit is contained in:
huangxiaolei committed 2022-12-19 13:40:04 +08:00
1 parent f773ba8df7
commit 58b2df2bc6
92 files changed
+682 -626

No files matched your search

+1 -1
View File
@@ -51,6 +51,6 @@ func (c *Controller) registerRouter() {
addr := ":" + strconv.Itoa(int(port))
err := engine.Run(addr)
if err != nil {
logger.LOG.Error("gin run error: %v", err)
logger.Error("gin run error: %v", err)
}
}
+1 -1
View File
@@ -29,5 +29,5 @@ func (c *Controller) gmCmd(context *gin.Context) {
return
}
context.JSON(http.StatusOK, rep)
logger.LOG.Info("%v", gmCmdReq)
logger.Info("%v", gmCmdReq)
}