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

     1  package fillstruct
     2  
     3  type StructB struct {
     4  	StructC
     5  }
     6  
     7  type StructC struct {
     8  	unexportedInt int
     9  }
    10  
    11  func nested() {
    12  	c := StructB{
    13  		StructC: StructC{}, //@suggestedfix("}", "refactor.rewrite")
    14  	}
    15  }