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