| -- suggestedfix_fill_struct_package_10_14 -- |
| package fillstruct |
| |
| import ( |
| h2 "net/http" |
| |
| "golang.org/lsptests/fillstruct/data" |
| ) |
| |
| func unexported() { |
| a := data.B{ |
| ExportedInt: 0, |
| } //@suggestedfix("}", "refactor.rewrite", "Fill") |
| _ = h2.Client{} //@suggestedfix("}", "refactor.rewrite", "Fill") |
| } |
| |
| -- suggestedfix_fill_struct_package_11_16 -- |
| package fillstruct |
| |
| import ( |
| h2 "net/http" |
| |
| "golang.org/lsptests/fillstruct/data" |
| ) |
| |
| func unexported() { |
| a := data.B{} //@suggestedfix("}", "refactor.rewrite", "Fill") |
| _ = h2.Client{ |
| Transport: nil, |
| CheckRedirect: func(req *h2.Request, via []*h2.Request) error { |
| }, |
| Jar: nil, |
| Timeout: 0, |
| } //@suggestedfix("}", "refactor.rewrite", "Fill") |
| } |
| |