How to Fix File is not `gofumpt`-ed (gofumpt) error

gofumpt is a stricter version of gofmt. The lint tool finds more errors and reports. One such error is that File is not gofumpt-ed. The solution to the problem is as follows: Please install gofumpt The easiest solution is to run gofumpt on the troubled files. gofumpt -w <fileame> Written with StackEdit.

Read more