github.com/v2fly/tools@v0.100.0/internal/lsp/testdata/builtins/builtins.go (about) 1 package builtins 2 3 func _() { 4 //@complete("", append, bool, byte, cap, close, complex, complex128, complex64, copy, delete, error, _false, float32, float64, imag, int, int16, int32, int64, int8, len, make, new, panic, print, println, real, recover, rune, string, _true, uint, uint16, uint32, uint64, uint8, uintptr, _nil) 5 } 6 7 /* Create markers for builtin types. Only for use by this test. 8 /* append(slice []Type, elems ...Type) []Type */ //@item(append, "append", "func(slice []Type, elems ...Type) []Type", "func") 9 /* bool */ //@item(bool, "bool", "", "type") 10 /* byte */ //@item(byte, "byte", "", "type") 11 /* cap(v Type) int */ //@item(cap, "cap", "func(v Type) int", "func") 12 /* close(c chan<- Type) */ //@item(close, "close", "func(c chan<- Type)", "func") 13 /* complex(r float64, i float64) */ //@item(complex, "complex", "func(r float64, i float64) complex128", "func") 14 /* complex128 */ //@item(complex128, "complex128", "", "type") 15 /* complex64 */ //@item(complex64, "complex64", "", "type") 16 /* copy(dst []Type, src []Type) int */ //@item(copy, "copy", "func(dst []Type, src []Type) int", "func") 17 /* delete(m map[Type]Type1, key Type) */ //@item(delete, "delete", "func(m map[Type]Type1, key Type)", "func") 18 /* error */ //@item(error, "error", "", "interface") 19 /* false */ //@item(_false, "false", "", "const") 20 /* float32 */ //@item(float32, "float32", "", "type") 21 /* float64 */ //@item(float64, "float64", "", "type") 22 /* imag(c complex128) float64 */ //@item(imag, "imag", "func(c complex128) float64", "func") 23 /* int */ //@item(int, "int", "", "type") 24 /* int16 */ //@item(int16, "int16", "", "type") 25 /* int32 */ //@item(int32, "int32", "", "type") 26 /* int64 */ //@item(int64, "int64", "", "type") 27 /* int8 */ //@item(int8, "int8", "", "type") 28 /* iota */ //@item(iota, "iota", "", "const") 29 /* len(v Type) int */ //@item(len, "len", "func(v Type) int", "func") 30 /* make(t Type, size ...int) Type */ //@item(make, "make", "func(t Type, size ...int) Type", "func") 31 /* new(Type) *Type */ //@item(new, "new", "func(Type) *Type", "func") 32 /* nil */ //@item(_nil, "nil", "", "var") 33 /* panic(v interface{}) */ //@item(panic, "panic", "func(v interface{})", "func") 34 /* print(args ...Type) */ //@item(print, "print", "func(args ...Type)", "func") 35 /* println(args ...Type) */ //@item(println, "println", "func(args ...Type)", "func") 36 /* real(c complex128) float64 */ //@item(real, "real", "func(c complex128) float64", "func") 37 /* recover() interface{} */ //@item(recover, "recover", "func() interface{}", "func") 38 /* rune */ //@item(rune, "rune", "", "type") 39 /* string */ //@item(string, "string", "", "type") 40 /* true */ //@item(_true, "true", "", "const") 41 /* uint */ //@item(uint, "uint", "", "type") 42 /* uint16 */ //@item(uint16, "uint16", "", "type") 43 /* uint32 */ //@item(uint32, "uint32", "", "type") 44 /* uint64 */ //@item(uint64, "uint64", "", "type") 45 /* uint8 */ //@item(uint8, "uint8", "", "type") 46 /* uintptr */ //@item(uintptr, "uintptr", "", "type")