Compare commits
2 Commits
c731c3fe2e
...
e0be196d0c
Author | SHA1 | Date |
---|---|---|
sudo pacman -Syu | e0be196d0c | |
dependabot[bot] | c62fa6d7b8 |
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- uses: actions/setup-go@v4
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "stable"
|
go-version: "stable"
|
||||||
- uses: goreleaser/goreleaser-action@v4
|
- uses: goreleaser/goreleaser-action@v5
|
||||||
with:
|
with:
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
|
|
10
README.md
10
README.md
|
@ -2,15 +2,15 @@
|
||||||
|
|
||||||
[![Go](https://github.com/haunt98/gofimports/workflows/Go/badge.svg?branch=main)](https://github.com/haunt98/gofimports/actions)
|
[![Go](https://github.com/haunt98/gofimports/workflows/Go/badge.svg?branch=main)](https://github.com/haunt98/gofimports/actions)
|
||||||
[![Go Reference](https://pkg.go.dev/badge/github.com/haunt98/gofimports.svg)](https://pkg.go.dev/github.com/haunt98/gofimports)
|
[![Go Reference](https://pkg.go.dev/badge/github.com/haunt98/gofimports.svg)](https://pkg.go.dev/github.com/haunt98/gofimports)
|
||||||
|
[![Latest Version](https://img.shields.io/github/v/tag/haunt98/gofimports)](https://github.com/haunt98/gofimports/tags)
|
||||||
|
|
||||||
Group Go imports with my opinionated preferences.
|
Group Go imports with my opinionated preferences.
|
||||||
|
|
||||||
First is **standard**.
|
First is **standard**. Then **third party**, then **company** if exist. The last
|
||||||
Then **third party**, then **company** if exist.
|
is **local**.
|
||||||
The last is **local**.
|
|
||||||
|
|
||||||
Also main selling point of this tool is to handle imports only.
|
Also main selling point of this tool is to handle imports only. So please run
|
||||||
So please run `gofumpt` or `gofmt` to format you files after running this tool.
|
`gofumpt` or `gofmt` to format you files after running this tool.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue