github.com/v2fly/tools@v0.100.0/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  }