mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 15:32:26 +08:00
格式化代码
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user