github.com/amarpal/go-tools@v0.0.0-20240422043104-40142f59f616/quickfix/qf1008/testdata/src/example.com/CheckExplicitEmbeddedSelector/CheckExplicitEmbeddedSelector-basic.go.golden (about)

     1  package pkg
     2  
     3  type BasicOuter struct{ BasicInner }
     4  type BasicInner struct{ F1 int }
     5  
     6  func fnBasic() {
     7  	var basic BasicOuter
     8  	_ = basic.F1 //@ diag(`could remove embedded field "BasicInner" from selector`)
     9  	_ = basic.F1 // minimal form
    10  }