Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestJSONHandler (0.19 sec)

  1. src/log/slog/json_handler_test.go

    package slog
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"log/slog/internal/buffer"
    	"math"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestJSONHandler(t *testing.T) {
    	for _, test := range []struct {
    		name string
    		opts HandlerOptions
    		want string
    	}{
    		{
    			"none",
    			HandlerOptions{},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 17:06:26 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top