module
Version:
v0.0.0-...-24e656c
Opens a new window with list of versions in this module.
Published: Mar 23, 2022
License: MIT
Opens a new window with license information.
README
¶
go-printf-func-name
The Go linter go-printf-func-name
checks that printf-like functions are named with f
at the end.
For example, myLog
should be named myLogf
by Go convention:
package main
import "log"
func myLog(format string, args ...interface{}) {
const prefix = "[my] "
log.Printf(prefix + format, args...)
}
Click to show internal directories.
Click to hide internal directories.