github.com/v2fly/tools@v0.100.0/internal/lsp/testdata/builtins/constants.go (about) 1 package builtins 2 3 func _() { 4 const ( 5 foo = iota //@complete(" //", iota) 6 ) 7 8 iota //@complete(" //") 9 10 var iota int //@item(iotaVar, "iota", "int", "var") 11 12 iota //@complete(" //", iotaVar) 13 } 14 15 func _() { 16 var twoRedUpEnd bool //@item(TRUEVar, "twoRedUpEnd", "bool", "var") 17 18 var _ bool = true //@rank(" //", _true, TRUEVar) 19 }