chore: add badges

main
sudo pacman -Syu 2022-11-28 11:29:16 +07:00
parent fc717199d5
commit e487a1f413
No known key found for this signature in database
GPG Key ID: D6CB5C6C567C47B0
1 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,8 @@
# gofimports
[![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)
Group Go imports with my opinionated preferences.
First is standard.
@ -40,14 +43,14 @@ Example result:
```go
import (
"fmt"
"fmt"
"github.com/urfave/cli/v2"
"github.com/pkg/diff"
"github.com/urfave/cli/v2"
"github.com/pkg/diff"
"github.com/make-go-great/color-go"
"github.com/make-go-great/color-go"
"github.com/haunt98/gofimports/internal/imports"
"github.com/haunt98/gofimports/internal/imports"
)
```