Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FormatterVal (0.23 sec)

  1. src/cmd/vet/testdata/print/print.go

    	fmt.Printf("%d", BoolFormatter(true))       // ERROR "Printf format %d has arg BoolFormatter\(true\) of wrong type .*print.BoolFormatter"
    	fmt.Printf("%z", FormatterVal(true))        // correct (the type is responsible for formatting)
    	fmt.Printf("%d", FormatterVal(true))        // correct (the type is responsible for formatting)
    	fmt.Printf("%s", nonemptyinterface)         // correct (the type is responsible for formatting)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
Back to top