From the root of this project, run gofmt -s -w ./. The -s flag is short for "simplify", and will make some changes to make the code simpler. The -w flag is short for "write", which means that the changes will be written to disk instead of shown in stdout.
Open a pull request to this repo with your changes. If you want, mention this issue in your pull request by writing something like, "Closes #866" which will close this issue upon being merged.
The text was updated successfully, but these errors were encountered:
Overview
Right now, Go Report Card reports that we have so gofmt failures in our codebase.
Typically, these can fixed by running
gofmt -s -w ./
from the root of the project.How to fix it
gofmt -s -w ./
. The-s
flag is short for "simplify", and will make some changes to make the code simpler. The-w
flag is short for "write", which means that the changes will be written to disk instead of shown in stdout.The text was updated successfully, but these errors were encountered: