gofumpt is a stricter version of gofmt. The lint tool finds better errors. One such error is that File is not gofumpt-ed. Solution Install gofumpt run gofumpt on the troubled files. gofumpt -w <fileame>

gofumpt is a stricter version of gofmt. The lint tool finds better errors. One such error is that File is not gofumpt-ed. Solution Install gofumpt run gofumpt on the troubled files. gofumpt -w <fileame>