- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for jsonValueString (0.62 sec)
-
src/log/slog/json_handler_test.go
{math.Inf(-1), `"!ERROR:json: unsupported value: -Inf"`}, {io.EOF, `"EOF"`}, } { got := jsonValueString(AnyValue(test.value)) if got != test.want { t.Errorf("%v: got %s, want %s", test.value, got, test.want) } } } func jsonValueString(v Value) string { var buf []byte s := &handleState{h: &commonHandler{json: true}, buf: (*buffer.Buffer)(&buf)}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 17:06:26 UTC 2023 - 6.5K bytes - Viewed (0)