Compare commits

...

2 Commits

Author SHA1 Message Date
sudo pacman -Syu e0be196d0c chore: add badges 2023-09-23 14:10:05 +07:00
dependabot[bot] c62fa6d7b8 chore(deps): bump goreleaser/goreleaser-action from 4 to 5
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 4 to 5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-12 17:49:58 +07:00
2 changed files with 6 additions and 6 deletions

View File

@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: "stable"
- uses: goreleaser/goreleaser-action@v4
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest

View File

@ -2,15 +2,15 @@
[![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)
[![Latest Version](https://img.shields.io/github/v/tag/haunt98/gofimports)](https://github.com/haunt98/gofimports/tags)
Group Go imports with my opinionated preferences.
First is **standard**.
Then **third party**, then **company** if exist.
The last is **local**.
First is **standard**. Then **third party**, then **company** if exist. The last
is **local**.
Also main selling point of this tool is to handle imports only.
So please run `gofumpt` or `gofmt` to format you files after running this tool.
Also main selling point of this tool is to handle imports only. So please run
`gofumpt` or `gofmt` to format you files after running this tool.
## Install