Skip to content

Commit

Permalink
README: add a godoc badge
Browse files Browse the repository at this point in the history
If someone is new to the repository, it might not be obvious that there
is a Go API available as a library. The README does later refer to the
format library, but also add it to the top as a badge like any other library.
  • Loading branch information
mvdan committed May 16, 2022
1 parent 1f45ac0 commit d4a82e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# gofumpt

[![Go Reference](https://pkg.go.dev/badge/mvdan.cc/gofumpt/format.svg)](https://pkg.go.dev/mvdan.cc/gofumpt/format)

go install mvdan.cc/gofumpt@latest

Enforce a stricter format than `gofmt`, while being backwards compatible.
Expand Down

0 comments on commit d4a82e8

Please sign in to comment.