Closed kshitij10496 closed 7 years ago
Hi, thanks.
My editor runs gofmt for all files I edit, but this file bindata_assetfs.go
is autogenerated, see in server/server.go
:
//go:generate go-bindata-assetfs -pkg server -nocompress -modtime 1 -mode 420 webroot/...
So if we care about its formatting, we should incorporate gofmt in the autogeneration process.
Hey @dimonomid
So if we care about its formatting, we should incorporate gofmt in the autogeneration process.
I agree. This would be a more robust way to solve the formatting problem. Since I'm currently learning Go and familiarising with its development workflow, I will try to look for resources for solving this.
Using the
gofmt
tool, I found the code was not compatible with the standard coding style guide. If we do not intend to follow the Styling guide, do let me know.This change is