mirror of
https://github.com/golang/go
synced 2024-11-18 23:54:41 -07:00
14 lines
276 B
Go
14 lines
276 B
Go
|
package nested_complit
|
||
|
|
||
|
type ncFoo struct {} //@item(structNCFoo, "ncFoo", "struct{...}", "struct")
|
||
|
|
||
|
type ncBar struct { //@item(structNCBar, "ncBar", "struct{...}", "struct")
|
||
|
baz []ncFoo
|
||
|
}
|
||
|
|
||
|
func _() {
|
||
|
_ := ncBar{
|
||
|
baz: [] //@complete(" //", structNCBar, structNCFoo)
|
||
|
}
|
||
|
}
|