Documentation
¶
Overview ¶
Package sprintfint implements a Go analysis linter that flags fmt.Sprintf("%d", x) calls where x is a single int value and suggests using strconv.Itoa(x) instead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "sprintfint", Doc: `reports fmt.Sprintf("%d", x) calls where x is a single int value; use strconv.Itoa(x) instead`, URL: "https://github.com/github/gh-aw/tree/main/pkg/linters/sprintfint", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Analyzer is the sprintfint analysis pass.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.