4.7 Blank Identifier _: Discarding Values
Right, let’s talk about the blank identifier. You know, the underscore: _. It looks like a placeholder, a bit of syntactic punctuation, and that’s exactly what it is. We use it when we’re forced by the grammar of Go to acknowledge a value’s existence but we have absolutely zero interest in actually keeping it around. It’s the programming equivalent of saying, “I acknowledge you’ve spoken,” before immediately forgetting what was said.