From a645d167884f2553b4835d56e4e6f676b2d32253 Mon Sep 17 00:00:00 2001 From: Nathan Nutter Date: Sun, 31 May 2026 16:06:20 -0500 Subject: [PATCH] Renamed phase-shift-go to go-phase-shift --- README.md | 2 +- cmd/phase-shift/main.go | 2 +- go.mod | 2 +- internal/analysis/nonmutating/nonmutating.go | 6 +++--- internal/analysis/nonmutating/nonmutating_test.go | 2 +- internal/directive/directive.go | 2 +- internal/directive/directive_test.go | 2 +- internal/report/report_test.go | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 0afe337..6f16d38 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ An annotated function must not mutate caller-visible state through parameters or Standard `go install` installation, ```sh -GOPRIVATE=github.com/phasemerge go install github.com/phasemerge/phase-shift-go/cmd/phase-shift@latest +GOPRIVATE=github.com/phasemerge go install github.com/phasemerge/go-phase-shift/cmd/phase-shift@latest ``` ## Usage diff --git a/cmd/phase-shift/main.go b/cmd/phase-shift/main.go index 03f9f4f..7e909b2 100644 --- a/cmd/phase-shift/main.go +++ b/cmd/phase-shift/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/phasemerge/phase-shift-go/internal/analysis/nonmutating" + "github.com/phasemerge/go-phase-shift/internal/analysis/nonmutating" "golang.org/x/tools/go/analysis/singlechecker" ) diff --git a/go.mod b/go.mod index 59efd49..8e3a421 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/phasemerge/phase-shift-go +module github.com/phasemerge/go-phase-shift go 1.26 diff --git a/internal/analysis/nonmutating/nonmutating.go b/internal/analysis/nonmutating/nonmutating.go index 8307dda..854d4d6 100644 --- a/internal/analysis/nonmutating/nonmutating.go +++ b/internal/analysis/nonmutating/nonmutating.go @@ -5,9 +5,9 @@ import ( "go/ast" "go/types" - "github.com/phasemerge/phase-shift-go/internal/directive" - "github.com/phasemerge/phase-shift-go/internal/directive/enum" - "github.com/phasemerge/phase-shift-go/internal/report" + "github.com/phasemerge/go-phase-shift/internal/directive" + "github.com/phasemerge/go-phase-shift/internal/directive/enum" + "github.com/phasemerge/go-phase-shift/internal/report" "golang.org/x/tools/go/analysis" "golang.org/x/tools/go/analysis/passes/buildssa" ) diff --git a/internal/analysis/nonmutating/nonmutating_test.go b/internal/analysis/nonmutating/nonmutating_test.go index 41aac8d..304ec6d 100644 --- a/internal/analysis/nonmutating/nonmutating_test.go +++ b/internal/analysis/nonmutating/nonmutating_test.go @@ -3,7 +3,7 @@ package nonmutating_test import ( "testing" - "github.com/phasemerge/phase-shift-go/internal/analysis/nonmutating" + "github.com/phasemerge/go-phase-shift/internal/analysis/nonmutating" "golang.org/x/tools/go/analysis/analysistest" ) diff --git a/internal/directive/directive.go b/internal/directive/directive.go index 9f8f755..3d07e90 100644 --- a/internal/directive/directive.go +++ b/internal/directive/directive.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - "github.com/phasemerge/phase-shift-go/internal/directive/enum" + "github.com/phasemerge/go-phase-shift/internal/directive/enum" ) const Prefix = "//phase:" diff --git a/internal/directive/directive_test.go b/internal/directive/directive_test.go index 200e3d7..58d5514 100644 --- a/internal/directive/directive_test.go +++ b/internal/directive/directive_test.go @@ -3,7 +3,7 @@ package directive_test import ( "testing" - "github.com/phasemerge/phase-shift-go/internal/directive" + "github.com/phasemerge/go-phase-shift/internal/directive" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/report/report_test.go b/internal/report/report_test.go index d129fd4..0fac34b 100644 --- a/internal/report/report_test.go +++ b/internal/report/report_test.go @@ -3,7 +3,7 @@ package report_test import ( "testing" - "github.com/phasemerge/phase-shift-go/internal/report" + "github.com/phasemerge/go-phase-shift/internal/report" "github.com/stretchr/testify/assert" )