Standard library / reflect

reflect.Int64

Kind constant identifying 64-bit signed integer. Expected stdout: 'true\n'.

Formal Syntax & Structure

go syntaxgo
const Int64 Kind = 6

Working Example

Example Snippetgo
package main
import (  "fmt"  "reflect")
func main() { fmt.Println(reflect.TypeOf(int64(0)).Kind() == reflect.Int64) }
Go Reference