gofmt command does not format the flower braces({}).
Code:
package main
import "fmt"
func main()
{
fmt.Printf("Hello, world\n")
}
Output of gofmt hello.go
hello.go:6:1: expected declaration, found '{' exit status 2
If i put the spaces anywhere it formats it properly. Does gofmt goes not format the braces?