mirror of
https://github.com/golang/go
synced 2024-11-06 22:46:14 -07:00
11 lines
225 B
Go
11 lines
225 B
Go
|
package cast
|
||
|
|
||
|
func _() {
|
||
|
foo := struct{x int}{x: 1} //@item(x_field, "x", "int", "field")
|
||
|
_ = float64(foo.x) //@complete("x", x_field)
|
||
|
}
|
||
|
|
||
|
func _() {
|
||
|
foo := struct{x int}{x: 1}
|
||
|
_ = float64(foo. //@complete(" /", x_field)
|
||
|
}
|