From fa0e8944f371c7add93760b6f1184366f082d248 Mon Sep 17 00:00:00 2001 From: Koji Shimba Date: Wed, 3 Jun 2026 18:34:01 +0900 Subject: [PATCH] Rename Go module path to github.com/korylus/tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The module is published at github.com/korylus/tools, but go.mod still declared github.com/korylus/korylus-tools, so consumers could not fetch it with `go tool`. Align the module path (and internal imports / README) with the repository URL. [Ja] モジュールは github.com/korylus/tools として公開されているが、go.mod は github.com/korylus/korylus-tools のままで、消費側が `go tool` で取得できなかった。 モジュールパス (および内部 import / README) をリポジトリ URL に揃える。 --- README.ja.md | 2 +- README.md | 2 +- cmd/koryluslint/main.go | 4 ++-- go.mod | 2 +- internal/comment/comment.go | 2 +- internal/md/md.go | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.ja.md b/README.ja.md index 08814e8..c23a058 100644 --- a/README.ja.md +++ b/README.ja.md @@ -31,7 +31,7 @@ koryluslint md [-base=] [--all] [--write] [paths...] 各プロジェクトはバージョンを固定して `koryluslint` を取得します。 -- Go プロジェクト: `go.mod` の tool ディレクティブで `github.com/korylus/korylus-tools/cmd/koryluslint` を固定し、`go tool koryluslint ...` で実行する +- Go プロジェクト: `go.mod` の tool ディレクティブで `github.com/korylus/tools/cmd/koryluslint` を固定し、`go tool koryluslint ...` で実行する - 非 Go プロジェクト: mise の `go:` バックエンドで固定取得する ## 開発 diff --git a/README.md b/README.md index e51a869..b356c98 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ For `md`, `--all` checks every `.md` file in full instead of only changed lines, Each project pins a version of `koryluslint` to fetch it. -- Go projects: pin `github.com/korylus/korylus-tools/cmd/koryluslint` with the `tool` directive in `go.mod` and run it with `go tool koryluslint ...`. +- Go projects: pin `github.com/korylus/tools/cmd/koryluslint` with the `tool` directive in `go.mod` and run it with `go tool koryluslint ...`. - Non-Go projects: pin it with mise's `go:` backend. ## Development diff --git a/cmd/koryluslint/main.go b/cmd/koryluslint/main.go index 0bfd9b3..5b59e56 100644 --- a/cmd/koryluslint/main.go +++ b/cmd/koryluslint/main.go @@ -19,8 +19,8 @@ import ( "io" "os" - "github.com/korylus/korylus-tools/internal/comment" - "github.com/korylus/korylus-tools/internal/md" + "github.com/korylus/tools/internal/comment" + "github.com/korylus/tools/internal/md" ) // usageText is shown for invalid arguments or -h. diff --git a/go.mod b/go.mod index b056e78..a2ea03d 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/korylus/korylus-tools +module github.com/korylus/tools go 1.26 diff --git a/internal/comment/comment.go b/internal/comment/comment.go index fa1c9d7..92f79e5 100644 --- a/internal/comment/comment.go +++ b/internal/comment/comment.go @@ -50,7 +50,7 @@ import ( "strconv" "strings" - "github.com/korylus/korylus-tools/internal/cli" + "github.com/korylus/tools/internal/cli" ) var ( diff --git a/internal/md/md.go b/internal/md/md.go index 49b209f..d600276 100644 --- a/internal/md/md.go +++ b/internal/md/md.go @@ -46,7 +46,7 @@ import ( "strings" "unicode" - "github.com/korylus/korylus-tools/internal/cli" + "github.com/korylus/tools/internal/cli" ) const (