3 ms·
There's a pattern you should be using here, instead: """ Something doesn't work right, so you add a call to fmt.Printf to help debug it. Compile error: "Undef
by lrobb 14y ago
There's a pattern you should be using here, instead:
"""
Something doesn't work right, so you add a call to fmt.Printf to help debug it.
Compile error: "Undefined: fmt."
You add an import "fmt" at the top.
It works, and you debug the problem.
Remove the now annoying log.
Compile error: "imported and not used: fmt."
Remove the "fmt" knowing full well you're just going to be adding it back again in a few minutes.
"""