From 8f1392a84f20bb4aa2a6429ae148f86a9cb13a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Fri, 10 Jun 2022 13:20:06 +0100 Subject: [PATCH] README: clarify that we require Go 1.17 or later Fixes #232. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index adaf545..3640d46 100644 --- a/README.md +++ b/README.md @@ -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: