Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newChattyPrinter (0.11 sec)

  1. src/testing/testing.go

    type chattyPrinter struct {
    	w          io.Writer
    	lastNameMu sync.Mutex // guards lastName
    	lastName   string     // last printed test name in chatty mode
    	json       bool       // -v=json output mode
    }
    
    func newChattyPrinter(w io.Writer) *chattyPrinter {
    	return &chattyPrinter{w: w, json: chatty.json}
    }
    
    // prefix is like chatty.prefix but using p.json instead of chatty.json.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top