I am learning go. First time I use one of the standard packages I try to read through it’s code to learn more about the package. I also Want to get a feel for how go code is written. This particular example is from the flag package.

Would someone be able to explain it to me? I just can’t wrap my head around it: