I started learning golang and installed GoLand from JetBrains. I am reading the book The Go Programming Language, and in the first chapter author strongly recommends using the gofmt
tool before each save. How I can follow this recommendation in GoLand?
There are ways to format your code , you can do that by using any one of the way :