Skip to content

Quickfix for wrong formatting #2229

@dlsniper

Description

@dlsniper
package main

import "fmt"

func main()  
{ //error, can't have the opening brace on a separate line
    fmt.Println("hello there!")
}

should become

package main

import "fmt"

func main()  {
    fmt.Println("hello there!")
}

I think this should be a quickfix but in theory the formatter should be able to handle this as well which is currently doesn't.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions