Standard library / go/token
go/token.FLOAT
Floating-point literal. Token identity is distinct from the literal text returned by scanner.Scan. Expected stdout: 'FLOAT\n'.
Formal Syntax & Structure
go syntaxgo
const FLOAT TokenWorking Example
Example Snippetgo
package main
import ( "fmt" "go/token")
func main() { fmt.Println(token.FLOAT.String()) }