chroma/lexers/testdata/go.actual
2025-03-22 20:46:00 +13:00

22 lines
314 B
Text

package main
import "fmt"
func main() {
fmt.Println("Hello World!")
}
var n int = 0x21 + 1_000
var n2 float64 = 1e3
func hello(a int) {
fmt.Println("Hello World!").Hello()
return func() int {
return i
}
} // One last thing
type Int interface {
~int | ~int8 | ~int16 | ~int32 | ~int64
}