blob: 13c85702527f5101f93ba5c23a87072d9b474c7a [file] [log] [blame]
-- suggestedfix_fill_struct_package_10_14 --
package fillstruct
import (
h2 "net/http"
"golang.org/x/tools/internal/lsp/fillstruct/data"
)
func unexported() {
a := data.B{
ExportedInt: 0,
} //@suggestedfix("}", "refactor.rewrite")
_ = h2.Client{} //@suggestedfix("}", "refactor.rewrite")
}
-- suggestedfix_fill_struct_package_11_16 --
package fillstruct
import (
h2 "net/http"
"golang.org/x/tools/internal/lsp/fillstruct/data"
)
func unexported() {
a := data.B{} //@suggestedfix("}", "refactor.rewrite")
_ = h2.Client{
Transport: nil,
CheckRedirect: func(req *h2.Request, via []*h2.Request) error {
},
Jar: nil,
Timeout: 0,
} //@suggestedfix("}", "refactor.rewrite")
}