...

Text file src/github.com/alecthomas/chroma/lexers/testdata/go.actual

Documentation: github.com/alecthomas/chroma/lexers/testdata

     1package main
     2
     3import "fmt"
     4
     5func main() {
     6    fmt.Println("Hello World!")
     7}
     8
     9var n int = 0x21 + 1_000
    10var n2 float64 = 1e3
    11
    12func hello(a int) {
    13	fmt.Println("Hello World!").Hello()
    14
    15    return func() int {
    16        return i
    17    }
    18} // One last thing

View as plain text