fix: 修复 goimports 导入顺序
This commit is contained in:
@@ -2,11 +2,12 @@ package worker
|
||||
|
||||
import (
|
||||
"context"
|
||||
"strconv"
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
"next-terminal/server/api/abi"
|
||||
"next-terminal/server/common/maps"
|
||||
"next-terminal/server/service"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
type WorkAssetApi struct {
|
||||
|
||||
@@ -2,21 +2,20 @@ package task
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/shirou/gopsutil/v3/load"
|
||||
"next-terminal/server/common/nt"
|
||||
"next-terminal/server/service"
|
||||
"next-terminal/server/utils"
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"next-terminal/server/log"
|
||||
"next-terminal/server/repository"
|
||||
|
||||
"github.com/shirou/gopsutil/v3/cpu"
|
||||
"github.com/shirou/gopsutil/v3/disk"
|
||||
"github.com/shirou/gopsutil/v3/load"
|
||||
"github.com/shirou/gopsutil/v3/mem"
|
||||
"github.com/shirou/gopsutil/v3/net"
|
||||
"next-terminal/server/common/nt"
|
||||
"next-terminal/server/global/stat"
|
||||
"next-terminal/server/log"
|
||||
"next-terminal/server/repository"
|
||||
"next-terminal/server/service"
|
||||
"next-terminal/server/utils"
|
||||
)
|
||||
|
||||
type Ticker struct {
|
||||
|
||||
Reference in New Issue
Block a user