From 298e5ac21732607ad8f101d5da5e795c85e6a21c Mon Sep 17 00:00:00 2001 From: Brian McGee Date: Sat, 23 Dec 2023 13:39:16 +0000 Subject: [PATCH] feat: change module root to git.numtide.com --- go.mod | 2 +- internal/cli/format.go | 4 ++-- main.go | 2 +- nix/packages.nix | 2 +- test/treefmt.toml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 5b427b7..63ab324 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/numtide/treefmt +module git.numtide.com/numtide/treefmt go 1.21 diff --git a/internal/cli/format.go b/internal/cli/format.go index 0461b5a..83c1e5f 100644 --- a/internal/cli/format.go +++ b/internal/cli/format.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/numtide/treefmt/internal/cache" - "github.com/numtide/treefmt/internal/format" + "git.numtide.com/numtide/treefmt/internal/cache" + "git.numtide.com/numtide/treefmt/internal/format" "github.com/charmbracelet/log" "github.com/juju/errors" diff --git a/main.go b/main.go index ca6d3f9..72d162e 100644 --- a/main.go +++ b/main.go @@ -1,8 +1,8 @@ package main import ( + "git.numtide.com/numtide/treefmt/internal/cli" "github.com/alecthomas/kong" - "github.com/numtide/treefmt/internal/cli" ) func main() { diff --git a/nix/packages.nix b/nix/packages.nix index dd695b9..b3af404 100644 --- a/nix/packages.nix +++ b/nix/packages.nix @@ -28,7 +28,7 @@ meta = with lib; { description = "treefmt: one CLI to format your repo"; - homepage = "https://github.com/numtide/treefmt"; + homepage = "https://git.numtide.com/numtide/treefmt"; license = licenses.mit; mainProgram = "treefmt"; }; diff --git a/test/treefmt.toml b/test/treefmt.toml index 04a778d..9fac6e5 100644 --- a/test/treefmt.toml +++ b/test/treefmt.toml @@ -1,4 +1,4 @@ -# One CLI to format the code tree - https://github.com/numtide/treefmt +# One CLI to format the code tree - https://git.numtide.com/numtide/treefmt [formatter.python] command = "black"