Skip to content

Commit 9791d98

Browse files
committed
add documentation for verify-gofmt script
1 parent ec0dcfb commit 9791d98

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

contributors/devel/sig-testing/verify-tests.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,13 @@ klog methods which have few disallowed keywords like,
181181

182182
More info is available
183183
[here](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/migration-to-structured-logging.md#change-log-functions-to-structured-equivalent).
184+
185+
186+
## `verify-gofmt`
187+
188+
This script is used to check whether the go source code needs to be
189+
formatted or not using, the gofmt tool. Gofmt tool automatically
190+
formats the code and the formatted code is easier to read, write and
191+
maintain.
192+
193+

0 commit comments

Comments
 (0)