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

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