Skip to content

Commit

Permalink
rename for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcbaby committed Nov 24, 2024
1 parent ebcc408 commit 95196a8
Show file tree
Hide file tree
Showing 22 changed files with 41 additions and 41 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- 'v*'

jobs:

build-release:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -35,4 +34,5 @@ jobs:
files: './release/p2d*.zip'
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

2 changes: 1 addition & 1 deletion cmd/install.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/dn-11/provider2domainset/daemon"
"github.com/ljcbaby/domainlist-convert/daemon"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/run.go
Original file line number Diff line number Diff line change
@@ -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"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/service.go
Original file line number Diff line number Diff line change
@@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/uninstall.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/dn-11/provider2domainset/daemon"
"github.com/ljcbaby/domainlist-convert/daemon"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion conf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions conf/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions convert/classical.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions convert/classical_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions convert/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions convert/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions convert/domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions convert/run.go
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion convert/type.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion daemon/binary.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
6 changes: 3 additions & 3 deletions daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion daemon/refresh.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"sync"
"time"

"github.com/dn-11/provider2domainset/log"
"github.com/ljcbaby/domainlist-convert/log"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion daemon/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
_ "embed"
"errors"

"github.com/dn-11/provider2domainset/log"
"github.com/ljcbaby/domainlist-convert/log"
"go.uber.org/zap"

"os"
Expand Down
6 changes: 3 additions & 3 deletions daemon/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/dn-11/provider2domainset
module github.com/ljcbaby/domainlist-convert

go 1.23

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit 95196a8

Please sign in to comment.