mirror of
https://github.com/golang/go
synced 2024-10-01 18:38:34 -06:00
16 lines
314 B
Go
16 lines
314 B
Go
|
package assign
|
||
|
|
||
|
func _() {
|
||
|
var (
|
||
|
myInt int //@item(assignInt, "myInt", "int", "var")
|
||
|
myStr string //@item(assignStr, "myStr", "string", "var")
|
||
|
)
|
||
|
|
||
|
var _ string = my //@rank(" //", assignStr, assignInt)
|
||
|
var _ string = //@rank(" //", assignStr, assignInt)
|
||
|
}
|
||
|
|
||
|
func _() {
|
||
|
var a string = a //@complete(" //")
|
||
|
}
|