清理文本输出之前的sleep
This commit is contained in:
parent
fd87aca57d
commit
5b203326ae
|
|
@ -2,8 +2,6 @@ package core
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
|
||||||
|
|
||||||
"github.com/flipped-aurora/gin-vue-admin/server/global"
|
"github.com/flipped-aurora/gin-vue-admin/server/global"
|
||||||
"github.com/flipped-aurora/gin-vue-admin/server/initialize"
|
"github.com/flipped-aurora/gin-vue-admin/server/initialize"
|
||||||
"github.com/flipped-aurora/gin-vue-admin/server/service/system"
|
"github.com/flipped-aurora/gin-vue-admin/server/service/system"
|
||||||
|
|
@ -35,9 +33,7 @@ func RunWindowsServer() {
|
||||||
|
|
||||||
address := fmt.Sprintf(":%d", global.GVA_CONFIG.System.Addr)
|
address := fmt.Sprintf(":%d", global.GVA_CONFIG.System.Addr)
|
||||||
s := initServer(address, Router)
|
s := initServer(address, Router)
|
||||||
// 保证文本顺序输出
|
|
||||||
// In order to ensure that the text order output can be deleted
|
|
||||||
time.Sleep(10 * time.Microsecond)
|
|
||||||
global.GVA_LOG.Info("server run success on ", zap.String("address", address))
|
global.GVA_LOG.Info("server run success on ", zap.String("address", address))
|
||||||
|
|
||||||
fmt.Printf(`
|
fmt.Printf(`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue