warnf prints a warning to stderr unconditionally. Use this for messages about real problems that a developer should investigate.
(format string, args ...any)
| 99 | // warnf prints a warning to stderr unconditionally. Use this for |
| 100 | // messages about real problems that a developer should investigate. |
| 101 | func warnf(format string, args ...any) { |
| 102 | log.Printf("WARNING: "+format, args...) |
| 103 | } |
| 104 | |
| 105 | func main() { |
| 106 | metrics, err := scanAllDirs() |
no outgoing calls
no test coverage detected