diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4afea0e5..4fd0c299 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -217,7 +217,7 @@ jobs: GOMIPS: ${{matrix.jobs.gomips}} run: | go env - go build -v -tags "with_gvisor" -trimpath -ldflags "${BUILDTAG} -X 'github.com/metacubex/mihomo/constant.Version=${VERSION}' -X 'github.com/metacubex/mihomo/constant.BuildTime=${BUILDTIME}' -w -s -buildid=" + go build -v -tags "with_gvisor" -trimpath -ldflags "${BUILDTAG} -X 'github.com/abyss219/mihomo/constant.Version=${VERSION}' -X 'github.com/abyss219/mihomo/constant.BuildTime=${BUILDTIME}' -w -s -buildid=" if [ "${{matrix.jobs.goos}}" = "windows" ]; then cp mihomo.exe mihomo-${{matrix.jobs.goos}}-${{matrix.jobs.output}}.exe zip -r mihomo-${{matrix.jobs.goos}}-${{matrix.jobs.output}}-${VERSION}.zip mihomo-${{matrix.jobs.goos}}-${{matrix.jobs.output}}.exe diff --git a/.golangci.yaml b/.golangci.yaml index 1de71ad8..e364edf2 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -11,7 +11,7 @@ linters-settings: custom-order: true sections: - standard - - prefix(github.com/metacubex/mihomo) + - prefix(github.com/abyss219/mihomo) - default staticcheck: go: '1.19' diff --git a/Makefile b/Makefile index 36c640d5..950df462 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,8 @@ VERSION=$(shell git rev-parse --short HEAD) endif BUILDTIME=$(shell date -u) -GOBUILD=CGO_ENABLED=0 go build -tags with_gvisor -trimpath -ldflags '-X "github.com/metacubex/mihomo/constant.Version=$(VERSION)" \ - -X "github.com/metacubex/mihomo/constant.BuildTime=$(BUILDTIME)" \ +GOBUILD=CGO_ENABLED=0 go build -tags with_gvisor -trimpath -ldflags '-X "github.com/abyss219/mihomo/constant.Version=$(VERSION)" \ + -X "github.com/abyss219/mihomo/constant.BuildTime=$(BUILDTIME)" \ -w -s -buildid=' PLATFORM_LIST = \ diff --git a/component/geodata/router/config.proto b/component/geodata/router/config.proto index 98795740..5575ba79 100644 --- a/component/geodata/router/config.proto +++ b/component/geodata/router/config.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package mihomo.component.geodata.router; option csharp_namespace = "Mihomo.Component.Geodata.Router"; -option go_package = "github.com/metacubex/mihomo/component/geodata/router"; +option go_package = "github.com/abyss219/mihomo/component/geodata/router"; option java_package = "com.mihomo.component.geodata.router"; option java_multiple_files = true; diff --git a/flake.nix b/flake.nix index afe6e1c1..f2342396 100644 --- a/flake.nix +++ b/flake.nix @@ -38,8 +38,8 @@ ldflags = [ "-s" "-w" - "-X github.com/metacubex/mihomo/constant.Version=dev-${version}" - "-X github.com/metacubex/mihomo/constant.BuildTime=${version}" + "-X github.com/abyss219/mihomo/constant.Version=dev-${version}" + "-X github.com/abyss219/mihomo/constant.BuildTime=${version}" ]; tags = [ diff --git a/go.mod b/go.mod index 39b39152..72556298 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/metacubex/mihomo +module github.com/abyss219/mihomo go 1.20 diff --git a/test/.golangci.yaml b/test/.golangci.yaml index e1fbbf76..29611f68 100644 --- a/test/.golangci.yaml +++ b/test/.golangci.yaml @@ -10,7 +10,7 @@ linters-settings: gci: sections: - standard - - prefix(github.com/metacubex/mihomo) + - prefix(github.com/abyss219/mihomo) - default staticcheck: go: '1.19' diff --git a/test/go.mod b/test/go.mod index f364c2c8..2e651cf1 100644 --- a/test/go.mod +++ b/test/go.mod @@ -5,13 +5,13 @@ go 1.20 require ( github.com/docker/docker v20.10.21+incompatible github.com/docker/go-connections v0.4.0 - github.com/metacubex/mihomo v0.0.0 + github.com/abyss219/mihomo v0.0.0 github.com/miekg/dns v1.1.57 github.com/stretchr/testify v1.8.4 golang.org/x/net v0.18.0 ) -replace github.com/metacubex/mihomo => ../ +replace github.com/abyss219/mihomo => ../ require ( github.com/3andne/restls-client-go v0.1.6 // indirect diff --git a/transport/vless/config.proto b/transport/vless/config.proto index 44cad479..00faf296 100644 --- a/transport/vless/config.proto +++ b/transport/vless/config.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package mihomo.transport.vless; option csharp_namespace = "Mihomo.Transport.Vless"; -option go_package = "github.com/metacubex/mihomo/transport/vless"; +option go_package = "github.com/abyss219/mihomo/transport/vless"; option java_package = "com.mihomo.transport.vless"; option java_multiple_files = true;