To help avoid mistakes Go compiler doesn’t allow unused variables.

However, there are some situations when you don’t need to use a value stored in a variable.

In those cases, you use a “blank identifier” _ to assign and discard the assigned value.

A blank identifier can be assigned a value of any type, and is most commonly used in functions that return multiple values.

Multiple Return Values

https://codeeval.dev/gist/9d4e139f994501de5abdb484b72aa517

With range

https://codeeval.dev/gist/3951ac0d73ce4e54dd3bedb584eaf9e2