Standard library / log/slog
slog.KindInt64
Kind discriminator for Int64 values; inspect Kind before using typed accessors. Expected stdout: '4\n'.
Formal Syntax & Structure
go syntaxgo
const KindInt64 Kind = 4Working Example
Example Snippetgo
package main
import ( "fmt" "log/slog")
func main() { fmt.Println(int(slog.KindInt64)) }