github.com/v2fly/tools@v0.100.0/internal/lsp/testdata/fillstruct/fill_struct_anon.go.golden (about)

     1  -- suggestedfix_fill_struct_anon_13_18 --
     2  package fillstruct
     3  
     4  type StructAnon struct {
     5  	a struct{}
     6  	b map[string]interface{}
     7  	c map[string]struct {
     8  		d int
     9  		e bool
    10  	}
    11  }
    12  
    13  func fill() {
    14  	_ := StructAnon{
    15  		a: struct{}{},
    16  		b: map[string]interface{}{},
    17  		c: map[string]struct{d int; e bool}{},
    18  	} //@suggestedfix("}", "refactor.rewrite")
    19  }
    20