diff --git a/README.md b/README.md index 871aaf6..7e95281 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ the value of the local flag. ## Installation ```sh -go install github.com/charlievieth/utils/gosortimports +go install github.com/charlievieth/gosortimports ``` ## Examples diff --git a/doc.go b/doc.go index dfbfc22..7dce0ba 100644 --- a/doc.go +++ b/doc.go @@ -3,7 +3,7 @@ Command [gosortimports] is a more aggressive version of [goimports] that handles very badly grouped imports and adds [gofmt's] simplify code option (-s). Otherwise it is the same as [goimports]. - $ go install github.com/charlievieth/utils/gosortimports + $ go install https://github.com/charlievieth/gosortimports In addition to fixing imports, gosortimports also formats your code in the same style as gofmt so it can be used as a replacement for your editor's @@ -36,7 +36,7 @@ working and see what gosortimports is doing. Happy hacking! -[gosortimports]: https://github.com/charlievieth/utils/tree/master/gosortimports +[gosortimports]: https://github.com/charlievieth/gosortimports [goimports]: https://pkg.go.dev/golang.org/x/tools/cmd/goimports [gofmt's]: https://pkg.go.dev/cmd/gofmt */ diff --git a/go.mod b/go.mod index 2a2a5d4..f9d992a 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/charlievieth/utils/gosortimports +module github.com/charlievieth/gosortimports go 1.19