Standard library / reflect

reflect.Int8

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

Formal Syntax & Structure

go syntaxgo
const Int8 Kind = 3

Working Example

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