Categorygithub.com/linsite/go-format-args-check
module
0.0.0-20230711012214-a403dc347228
Repository: https://github.com/linsite/go-format-args-check.git
Documentation: pkg.go.dev

# README

go-format-args-check

The Go linter go-format-args-check checks that printf-like functions are named with f at the end.

For example, Printf should have exactly 3 args, but got 2. You'll get a error.

package main

import "log"

func main() {
	log.Printf("name: %s, age: %d, test: %s", "test", 3)
}
main.go:6:2: formatting function 'Printf' args should match % count

# Packages

No description provided by the author
No description provided by the author