mirror of
https://github.com/golang/go
synced 2024-11-18 23:44:43 -07:00
10 lines
260 B
Go
10 lines
260 B
Go
|
package funcsig
|
||
|
|
||
|
type someType int //@item(sigSomeType, "someType", "int", "type")
|
||
|
|
||
|
// Don't complete "foo" in signature.
|
||
|
func (foo someType) _() { //@item(sigFoo, "foo", "someType", "var"),complete(") {", sigSomeType)
|
||
|
|
||
|
//@complete("", sigFoo, sigSomeType)
|
||
|
}
|