Standard library / go/token

go/token.COMMA

Operator or delimiter ','. Token identity is distinct from the literal text returned by scanner.Scan. Expected stdout: ',\n'.

Formal Syntax & Structure

go syntaxgo
const COMMA Token

Working Example

Example Snippetgo
package main
import (  "fmt"  "go/token")
func main() { fmt.Println(token.COMMA.String()) }
Go Reference