Skip to content

Formatting inconsistency for a struct type #448

@mtoader

Description

@mtoader

This

type x struct {
x, y int     // a
 u float32   // b
_ float32 // c
 A1 *[]int // ca
 FFF func()  // adsfasd
  X interface { } // adsf
}

should be formatted to this:

type x struct {
    x, y int         // a
    u    float32     // b
    _    float32     // c
    A1   *[]int      // ca
    FFF  func()      // adsfasd
    X    interface{} // adsf
}

but is formatted like this:

type x struct {
    x, y int     // a
    u    float32 // b
    _    float32 // c
    A1   *[]int  // ca
    FFF  func()  // adsfasd
    X    interface {
    }            // adsf
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions