diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6fde81b..af0f485 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,6 @@ on: - 'v*' jobs: - build-release: runs-on: ubuntu-latest steps: @@ -35,4 +34,5 @@ jobs: files: './release/p2d*.zip' prerelease: true env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + \ No newline at end of file diff --git a/cmd/install.go b/cmd/install.go index 67380f2..bdfa5e6 100644 --- a/cmd/install.go +++ b/cmd/install.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/dn-11/provider2domainset/daemon" + "github.com/ljcbaby/domainlist-convert/daemon" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index 16b019c..38a1b3f 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -3,7 +3,7 @@ package cmd import ( "os" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/log" "github.com/spf13/cobra" "go.uber.org/zap/zapcore" ) diff --git a/cmd/run.go b/cmd/run.go index 9ff566a..1b1da8d 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/convert" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/convert" "github.com/spf13/cobra" ) diff --git a/cmd/service.go b/cmd/service.go index 9caef72..15540d4 100644 --- a/cmd/service.go +++ b/cmd/service.go @@ -1,10 +1,10 @@ package cmd import ( - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/convert" - "github.com/dn-11/provider2domainset/daemon" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/convert" + "github.com/ljcbaby/domainlist-convert/daemon" + "github.com/ljcbaby/domainlist-convert/log" "github.com/spf13/cobra" ) diff --git a/cmd/uninstall.go b/cmd/uninstall.go index be450cb..26af878 100644 --- a/cmd/uninstall.go +++ b/cmd/uninstall.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/dn-11/provider2domainset/daemon" + "github.com/ljcbaby/domainlist-convert/daemon" "github.com/spf13/cobra" ) diff --git a/conf/config.go b/conf/config.go index f33fcaf..a1b467b 100644 --- a/conf/config.go +++ b/conf/config.go @@ -4,7 +4,7 @@ import ( _ "embed" "os" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/log" "github.com/spf13/viper" "go.uber.org/zap/zapcore" ) diff --git a/conf/config_test.go b/conf/config_test.go index 0b5f45b..ddea632 100644 --- a/conf/config_test.go +++ b/conf/config_test.go @@ -3,8 +3,8 @@ package conf_test import ( "testing" - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/log" ) func TestParseConfig(t *testing.T) { diff --git a/convert/classical.go b/convert/classical.go index 865eb26..40f0d5e 100644 --- a/convert/classical.go +++ b/convert/classical.go @@ -5,8 +5,8 @@ import ( "os" "strings" - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/log" "github.com/pkg/errors" ) diff --git a/convert/classical_test.go b/convert/classical_test.go index 5212416..9be32d3 100644 --- a/convert/classical_test.go +++ b/convert/classical_test.go @@ -5,9 +5,9 @@ import ( "path/filepath" "testing" - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/convert" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/convert" + "github.com/ljcbaby/domainlist-convert/log" "go.uber.org/zap/zapcore" ) diff --git a/convert/convert.go b/convert/convert.go index 685948e..0660c09 100644 --- a/convert/convert.go +++ b/convert/convert.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/log" "github.com/pkg/errors" ) diff --git a/convert/domain.go b/convert/domain.go index dc3dce0..1819a30 100644 --- a/convert/domain.go +++ b/convert/domain.go @@ -5,8 +5,8 @@ import ( "os" "strings" - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/log" "github.com/pkg/errors" ) diff --git a/convert/domain_test.go b/convert/domain_test.go index 11956b6..547ae60 100644 --- a/convert/domain_test.go +++ b/convert/domain_test.go @@ -5,9 +5,9 @@ import ( "path/filepath" "testing" - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/convert" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/convert" + "github.com/ljcbaby/domainlist-convert/log" "go.uber.org/zap/zapcore" ) diff --git a/convert/run.go b/convert/run.go index 886042f..38415aa 100644 --- a/convert/run.go +++ b/convert/run.go @@ -1,8 +1,8 @@ package convert import ( - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/log" ) func RunOnce() { diff --git a/convert/type.go b/convert/type.go index 0fab1b4..6cf8893 100644 --- a/convert/type.go +++ b/convert/type.go @@ -1,6 +1,6 @@ package convert -import "github.com/dn-11/provider2domainset/conf" +import "github.com/ljcbaby/domainlist-convert/conf" type Task struct { conf.File diff --git a/daemon/binary.go b/daemon/binary.go index 6393051..aab64ee 100644 --- a/daemon/binary.go +++ b/daemon/binary.go @@ -7,7 +7,7 @@ import ( "os/exec" "path/filepath" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/log" "go.uber.org/zap" ) diff --git a/daemon/daemon.go b/daemon/daemon.go index 1ccbe45..7b455be 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -5,10 +5,10 @@ import ( "sync" "time" - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/convert" - "github.com/dn-11/provider2domainset/log" "github.com/fsnotify/fsnotify" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/convert" + "github.com/ljcbaby/domainlist-convert/log" ) func Serve() { diff --git a/daemon/refresh.go b/daemon/refresh.go index 52bafc0..bca9db2 100644 --- a/daemon/refresh.go +++ b/daemon/refresh.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/log" ) var ( diff --git a/daemon/service.go b/daemon/service.go index 7de6875..ee235b7 100644 --- a/daemon/service.go +++ b/daemon/service.go @@ -4,7 +4,7 @@ import ( _ "embed" "errors" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/log" "go.uber.org/zap" "os" diff --git a/daemon/start.go b/daemon/start.go index 45656b2..a67f80d 100644 --- a/daemon/start.go +++ b/daemon/start.go @@ -4,9 +4,9 @@ import ( "os" "path/filepath" - "github.com/dn-11/provider2domainset/conf" - "github.com/dn-11/provider2domainset/convert" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/conf" + "github.com/ljcbaby/domainlist-convert/convert" + "github.com/ljcbaby/domainlist-convert/log" ) func start() { diff --git a/go.mod b/go.mod index db8e7a1..97d9e85 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/dn-11/provider2domainset +module github.com/ljcbaby/domainlist-convert go 1.23 diff --git a/main.go b/main.go index 34d994f..ccedfad 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/dn-11/provider2domainset/cmd" - "github.com/dn-11/provider2domainset/log" + "github.com/ljcbaby/domainlist-convert/cmd" + "github.com/ljcbaby/domainlist-convert/log" ) func main() {