[go] How to avoid annoying error "declared and not used"