mirror of
https://github.com/golang/go
synced 2024-11-19 06:04:39 -07:00
13 lines
500 B
Go
13 lines
500 B
Go
|
package func_rank
|
||
|
|
||
|
var stringAVar = "var" //@item(stringAVar, "stringAVar", "string", "var")
|
||
|
func stringBFunc() string { return "str" } //@item(stringBFunc, "stringBFunc()", "string", "func")
|
||
|
type stringer struct{} //@item(stringer, "stringer", "struct{...}", "struct")
|
||
|
|
||
|
func _() stringer //@complete("tr", stringer, stringAVar, stringBFunc)
|
||
|
|
||
|
func _(val stringer) {} //@complete("tr", stringer, stringAVar, stringBFunc)
|
||
|
|
||
|
func (stringer) _() {} //@complete("tr", stringer, stringAVar, stringBFunc)
|
||
|
|