You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go.nvim/lua/tests/fixtures/fill/fill_struct_golden.txt

33 lines
553 B
Plaintext

package fill
type Server struct {
Name string
ID int
MyHomeAddress string
SubDomains []string
Empty string
Example int64
Example2 string
Bar struct {
Four string
Five string
}
Lala interface{}
} // eos
// eof
func fillServer() {
sv := Server{
Name: "",
ID: 0,
MyHomeAddress: "",
SubDomains: []string{},
Empty: "",
Example: 0,
Example2: "",
Bar: struct{Four string; Five string}{},
Lala: nil,
}
_ = sv
}