Skip to content

Commit

Permalink
fix: 修复编译问题 (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisYin66 committed Aug 9, 2021
1 parent 1ee2638 commit 66a7546
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion app/adminengine/engine_admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ package adminengine

import (
"context"
"os"
"path/filepath"
"strconv"
"time"

Expand Down Expand Up @@ -44,6 +46,7 @@ import (
"github.com/douyu/jupiter/pkg/server/xecho"
"github.com/douyu/jupiter/pkg/worker/xcron"
"github.com/douyu/jupiter/pkg/xlog"
"go.uber.org/zap"
)

// Admin ...
Expand Down Expand Up @@ -340,4 +343,4 @@ func LogDir(cfgLog string) string {
} else {
return pkg.AppLogDir()
}
}
}
4 changes: 3 additions & 1 deletion app/proxyengine/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ package proxyengine
import (
"context"
"errors"
"os"
"path/filepath"
"strconv"
"time"

Expand Down Expand Up @@ -304,4 +306,4 @@ func LogDir(cfgLog string) string {
} else {
return pkg.AppLogDir()
}
}
}

0 comments on commit 66a7546

Please sign in to comment.