Standard library / reflect

reflect.Int32

Kind constant identifying 32-bit signed integer (including rune). Expected stdout: 'true\n'.

Formal Syntax & Structure

go syntaxgo
const Int32 Kind = 5

Working Example

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