mirror of https://github.com/golang/go.git
21 lines
339 B
Plaintext
21 lines
339 B
Plaintext
-- suggestedfix_fill_struct_anon_13_18 --
|
|
package fillstruct
|
|
|
|
type StructAnon struct {
|
|
a struct{}
|
|
b map[string]interface{}
|
|
c map[string]struct {
|
|
d int
|
|
e bool
|
|
}
|
|
}
|
|
|
|
func fill() {
|
|
_ := StructAnon{
|
|
a: struct{}{},
|
|
b: map[string]interface{}{},
|
|
c: map[string]struct{d int; e bool}{},
|
|
} //@suggestedfix("}", "refactor.rewrite")
|
|
}
|
|
|