1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
-- inlayHint --
package inlayHint //@inlayHint("package")
const True = true
type Kind int
const (
KindNone Kind = iota< = 0>
KindPrint< = 1>
KindPrintf< = 2>
KindErrorf< = 3>
)
const (
u = iota * 4< = 0>
v float64 = iota * 42< = 42>
w = iota * 42< = 84>
)
const (
a, b = 1, 2
c, d< = 1, 2>
e, f = 5 * 5, "hello" + "world"< = 25, "helloworld">
g, h< = 25, "helloworld">
i, j = true, f< = true, "helloworld">
)
// No hint
const (
Int = 3
Float = 3.14
Bool = true
Rune = '3'
Complex = 2.7i
String = "Hello, world!"
)
var (
varInt = 3
varFloat = 3.14
varBool = true
varRune = '3' + '4'
varComplex = 2.7i
varString = "Hello, world!"
)
|