Standard library / go/types

go/types.Int64

BasicKind for int64; indexes the Typ table. Aliases Byte and Rune share the Uint8 and Int32 indexes respectively. Expected stdout: 'int64\n'.

Formal Syntax & Structure

go syntaxgo
const Int64 BasicKind

Working Example

Example Snippetgo
package main
import (  "fmt"  "go/types")
func main() { fmt.Println(types.Typ[types.Int64].Name()) }
Go Reference