github.com/jd-ly/tools@v0.5.7/internal/lsp/testdata/fillstruct/fill_struct_anon.go (about)

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