Skip to content

Commit

Permalink
README: clarify that we require Go 1.17 or later
Browse files Browse the repository at this point in the history
Fixes #232.
  • Loading branch information
mvdan committed Jun 10, 2022
1 parent d4a82e8 commit 8f1392a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Enforce a stricter format than `gofmt`, while being backwards compatible.
That is, `gofumpt` is happy with a subset of the formats that `gofmt` is happy with.

The tool is a modified fork of `gofmt` as of Go 1.18.
The tool is a fork of `gofmt` as of Go 1.18, and requires Go 1.17 or later.
It can be used as a drop-in replacement to format your Go code,
and running `gofmt` after `gofumpt` should produce no changes.
For example:
Expand Down

0 comments on commit 8f1392a

Please sign in to comment.