Browse Source

修复编译问题

Signed-off-by: allan716 <[email protected]>
allan716 3 năm trước cách đây
mục cha
commit
fa38b975d3
2 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 1 0
      pkg/extend_log/darwin.go
  2. 1 0
      pkg/extend_log/linux.go

+ 1 - 0
pkg/extend_log/darwin.go

@@ -7,6 +7,7 @@ import (
 
 	"github.com/allanpk716/ChineseSubFinder/pkg/settings"
 	"github.com/sirupsen/logrus"
+	lSyslog "github.com/sirupsen/logrus/hooks/syslog"
 )
 
 type ExtendLog struct {

+ 1 - 0
pkg/extend_log/linux.go

@@ -7,6 +7,7 @@ import (
 
 	"github.com/allanpk716/ChineseSubFinder/pkg/settings"
 	"github.com/sirupsen/logrus"
+	lSyslog "github.com/sirupsen/logrus/hooks/syslog"
 )
 
 type ExtendLog struct {