Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/doc.go

    //
    // To enable printf checking on a function that is not found by this
    // analyzer's heuristics (for example, because control is obscured by
    // dynamic method calls), insert a bogus call:
    //
    //	func MyPrintf(format string, args ...any) {
    //		if false {
    //			_ = fmt.Sprintf(format, args...) // enable printf checking
    //		}
    //		...
    //	}
    //
    // # Specifying printf wrappers by flag
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top