When debugging, add the package-level statement var _ = fmt.Println to avoid unused errors. Here's an example: http://play.golang.org/p/cZtmILYWoZ
import (
_ "fmt"
)
To prevent the unused var error you can assign the var to an _ as well: _ = unusedVarHow is that an improvement? That's just as much work as commenting the line out.