printf

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: MIT, BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package printf is a patched fork of https://github.com/golang/tools/blob/b6235391adb3b7f8bcfc4df81055e8f023de2688/go/analysis/passes/printf/printf.go#L538

Initial discussion: https://go-review.googlesource.com/c/tools/+/580555/comments/dfe3ef96_b1b815d5

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPrintf

func CheckPrintf(
	pass *analysis.Pass,
	call *ast.CallExpr,
	fnName string,
	format string,
	formatIdx int,
)

CheckPrintf checks a call to a formatted print routine such as Printf.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL